summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorUrban Müller2014-10-03 14:59:45 +0200
committerUrban Müller2014-10-03 14:59:45 +0200
commitf8c2a8c404c3f8634fc51fb0ca532021380983fa (patch)
tree16b251b02c5c7a1cdd63b1e1a9920848ed62ce76 /it_debug.class
parent8e6225c837c7025bf2d1ffa84c8cf16f60e5705b (diff)
downloaditools-f8c2a8c404c3f8634fc51fb0ca532021380983fa.tar.gz
itools-f8c2a8c404c3f8634fc51fb0ca532021380983fa.tar.bz2
itools-f8c2a8c404c3f8634fc51fb0ca532021380983fa.zip
plain php compatibility
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index 89258fd..19c35b3 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -161,7 +161,7 @@ static function dump($args)
if ($htmlok)
return "<pre title='$title' style='color:#c00; text-align:left; background:white; margin:0 0 0.8em; border-bottom:1px solid #ddd; z-index:9999; position:relative'>$r</pre>\n";
else
- return $ansiok ? "$r\n" : "\xe2\x96\x88 " . it::replace("\n" => "\n\xe2\x96\x88 ", "$r") . "\n";
+ return $ansiok ? "$r\n" : "\xe2\x96\x88 " . it::replace(array("\n" => "\n\xe2\x96\x88 "), "$r") . "\n";
}
/**