diff options
author | Urban Müller | 2020-05-27 14:36:22 +0200 |
---|---|---|
committer | Urban Müller | 2020-05-27 14:36:32 +0200 |
commit | 7e99d49d7bc100b853ea8c720384536857815912 (patch) | |
tree | c8eaac5c9f69cb46658dd23fd98fb02f30342a69 /it.class | |
parent | 98b23955143c909892bd2006bd3f0cad32f690db (diff) | |
download | itools-7e99d49d7bc100b853ea8c720384536857815912.tar.gz itools-7e99d49d7bc100b853ea8c720384536857815912.tar.bz2 itools-7e99d49d7bc100b853ea8c720384536857815912.zip |
honor omitdebuginfo for block-resend
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ static function error($p = array()) (!$sendmail || $p['omitdebuginfo'] >= 2 ? "" : "Host: " . getenv('HOSTNAME') . " at " . date("Y-m-d H:i:s") . (($t = time() - $_SERVER['REQUEST_TIME']) ? " (invoked {$t}s before)" : "") . "\n") . # no it::date() due to time- debug param self::$error_context . ($p['id'] ? "Filter: timewindow=" . $p['graceperiod'] . "-" . ($p['graceperiod'] + $p['timewindow']) . " (previous err: " . it::date('', $errstamp) . ")\n" : "") . - ($origp['blockmail'] ? "Block-resend: " . $origp['blockmail'] . " seconds\n" : "") . + (!$origp['blockmail'] || $p['omitdebuginfo'] ? "" : "Block-resend: " . $origp['blockmail'] . " seconds\n") . ($p['body'] ? ($p['omitdebuginfo'] ? "" : "Body:\n") . trim($p['body'])."\n\n" : ""); if ($sendmail) # we're mailing: send maximum info |