summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class5
1 files changed, 4 insertions, 1 deletions
diff --git a/it.class b/it.class
index f6d42ac..7813da9 100644
--- a/it.class
+++ b/it.class
@@ -208,7 +208,10 @@ static function error($p = array())
$p['body'] = "Body: " . getenv('HOSTNAME') . ":$datafn";
}
- $body = ($p['omitdebuginfo'] >= 2 ? "" : ($url && !$toscreen? "{$p['title']}\n\nUrl: $url\n\n" : "") . ($trace ? ($sendmail?"" :" ")."Trace: $trace\n\n" : "")) . ($p['body'] ? "Body:\n" . trim($p['body'])."\n\n" : "");
+ $body =
+ ($p['omitdebuginfo'] >= 2 ? "" : ($url && !$toscreen? "{$p['title']}\n\nUrl: $url\n\n" : "") .
+ ($trace ? ($sendmail ? "" : " ") . "Trace: $trace\n\n" : "")) .
+ ($p['body'] ? ($p['omitdebuginfo'] ? "" : "Body:\n") . trim($p['body'])."\n\n" : "");
if ($sendmail) # we're mailing: send maximum info
{