diff options
-rw-r--r-- | it.class | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 { |