diff options
author | Urban Müller | 2011-12-21 17:26:32 +0000 |
---|---|---|
committer | Urban Müller | 2011-12-21 17:26:32 +0000 |
commit | 85fc606febb139cfc7bfc7b164614178a1e07eb1 (patch) | |
tree | 8e087d2cfe8154a81ca2aaa7259163159e4bd2f2 /it_debug.class | |
parent | 02e564341b6ddc098e21b8ab733d49335e804ad7 (diff) | |
download | itools-85fc606febb139cfc7bfc7b164614178a1e07eb1.tar.gz itools-85fc606febb139cfc7bfc7b164614178a1e07eb1.tar.bz2 itools-85fc606febb139cfc7bfc7b164614178a1e07eb1.zip |
protect against overwrite from below
Diffstat (limited to 'it_debug.class')
-rw-r--r-- | it_debug.class | 2 |
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"; } |