... | ... |
@@ -22,11 +22,7 @@ function DEBUG($str) |
22 | 22 |
{ |
23 | 23 |
global $debugmode; |
24 | 24 |
if ($debugmode) { |
25 |
- if (is_string($str)) { |
|
26 |
- echo htmlspecialchars($str) . "<br />\n"; |
|
27 |
- } else { |
|
28 |
- echo "<pre>".htmlspecialchars(print_r($str, true))."</pre>\n"; |
|
29 |
- } |
|
25 |
+ echo "<pre>".htmlspecialchars(print_r($str, true))."</pre>\n"; |
|
30 | 26 |
} |
31 | 27 |
} |
32 | 28 |
|