diff options
author | Urban Müller | 2007-11-29 18:51:06 +0000 |
---|---|---|
committer | Urban Müller | 2007-11-29 18:51:06 +0000 |
commit | 9f66343f9713a5d10bf3a59f59295d09bde528c3 (patch) | |
tree | 1e65b4e7956739489304f41623a1deb9613f9d6d /it.class | |
parent | 5d201ba6e58dee377303ae8f320c554cc0505c1b (diff) | |
download | itools-9f66343f9713a5d10bf3a59f59295d09bde528c3.tar.gz itools-9f66343f9713a5d10bf3a59f59295d09bde528c3.tar.bz2 itools-9f66343f9713a5d10bf3a59f59295d09bde528c3.zip |
no double newline
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ function error($p = array(), $body = null, $to = null) # $body and $to deprecate mail($p['to'], $p['title'], $body, ($cc = $GLOBALS['it_defaultconfig']['error_cc']) ? "Cc: $cc" : null); } else if ($_SERVER['REMOTE_ADDR']) # toscreen mode: web - echo "<pre>{$p['title']}\n$body</pre>"; + echo "<pre>{$p['title']}\n".rtrim($body)."</pre>"; else # toscreen mode: shell (outputs to stderr) error_log("it::error: " . $p['title'] . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']}") . " Url: $url " . (EDC('verbose') ? D($p['locals']) : "")); } |