summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2011-12-21 17:26:32 +0000
committerUrban Müller2011-12-21 17:26:32 +0000
commit85fc606febb139cfc7bfc7b164614178a1e07eb1 (patch)
tree8e087d2cfe8154a81ca2aaa7259163159e4bd2f2
parent02e564341b6ddc098e21b8ab733d49335e804ad7 (diff)
downloaditools-85fc606febb139cfc7bfc7b164614178a1e07eb1.tar.gz
itools-85fc606febb139cfc7bfc7b164614178a1e07eb1.tar.bz2
itools-85fc606febb139cfc7bfc7b164614178a1e07eb1.zip
protect against overwrite from below
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index 3c05992..672e0f5 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -164,7 +164,7 @@ function dump($args)
$title = htmlspecialchars(it_debug::backtrace(array('skiplevels' => 1)));
if (isset($_SERVER['REMOTE_ADDR']) && !$plain)
- return "<pre title='$title' style='color:#c00; text-align:left; background-color:white; margin:0; padding:0.25em; border-bottom:1px solid #ddd'>$r</pre>\n";
+ return "<pre title='$title' style='color:#c00; text-align:left; background-color:white; margin:0 0 0.4em; padding:0 0 0.4em 0; border-bottom:1px solid #ddd'>$r</pre>\n";
else
return "$r\n";
}