diff options
author | Denis Demesmaeker | 2007-11-16 17:28:45 +0000 |
---|---|---|
committer | Denis Demesmaeker | 2007-11-16 17:28:45 +0000 |
commit | 93169343187a0ba1f09a19ca797e9de586f59a8e (patch) | |
tree | 5def0b404a6c59c2d73cdf0438e07816486a5f07 /it.class | |
parent | b06a9d0df294b7f94ce5ae90c312d5e02c114623 (diff) | |
download | itools-93169343187a0ba1f09a19ca797e9de586f59a8e.tar.gz itools-93169343187a0ba1f09a19ca797e9de586f59a8e.tar.bz2 itools-93169343187a0ba1f09a19ca797e9de586f59a8e.zip |
body defined in array p shoul also be considered
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -185,7 +185,7 @@ function error($p = array(), $body = null, $to = null) # $body and $to deprecate { $trace = it_debug::backtrace($p['backtraceskip']); # moved in here for performance in mass error case - $body = ($body ? trim($body)."\n\n" : "") . ($url && !$toscreen? "{$p['title']}\n\nUrl: $url\n\n" : "") . ($trace ? ($sendmail?"" :" ")."Trace: $trace\n\n" : ""); + $body = ($p['body'] ? trim($p['body'])."\n\n" : "") . ($url && !$toscreen? "{$p['title']}\n\nUrl: $url\n\n" : "") . ($trace ? ($sendmail?"" :" ")."Trace: $trace\n\n" : ""); if ($sendmail) # we're mailing: send maximum info { |