From 9f66343f9713a5d10bf3a59f59295d09bde528c3 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 29 Nov 2007 18:51:06 +0000 Subject: no double newline --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 6d021a0..cc0de0a 100644 --- a/it.class +++ b/it.class @@ -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 "
{$p['title']}\n$body"; + echo "
{$p['title']}\n".rtrim($body).""; 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']) : "")); } -- cgit v1.2.3