diff options
author | Urban Müller | 2021-03-15 17:53:31 +0100 |
---|---|---|
committer | Urban Müller | 2021-03-15 17:53:31 +0100 |
commit | 5b961eaa9a3063c557010089d8a674ccc524a1fd (patch) | |
tree | a86526eb6e0eee1ea6af4bee5249d5a98b6230c1 | |
parent | 7e2d22ccc5be7766d1ba17535ab227f3f606101c (diff) | |
download | itools-5b961eaa9a3063c557010089d8a674ccc524a1fd.tar.gz itools-5b961eaa9a3063c557010089d8a674ccc524a1fd.tar.bz2 itools-5b961eaa9a3063c557010089d8a674ccc524a1fd.zip |
filter info not needed interactively
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -266,7 +266,7 @@ static function error($p = array(), $extra = null) ($trace ? ($sendmail ? "" : " ") . "Trace: $trace\n" : "")) . (!$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 ($sendmail ? $context['head'] : "") . - ($p['id'] ? "Filter: timewindow=" . $p['graceperiod'] . "-" . ($p['graceperiod'] + $p['timewindow']) . " (previous err: " . it::date('', $errstamp) . ")\n" : "") . + ($p['id'] && !$toscreen ? "Filter: timewindow=" . $p['graceperiod'] . "-" . ($p['graceperiod'] + $p['timewindow']) . " (previous err: " . it::date('', $errstamp) . ")\n" : "") . (!$origp['blockmail'] || $p['omitdebuginfo'] || $toscreen ? "" : "Block-resend: " . $origp['blockmail'] . " seconds\n") . ($p['body'] ? ($p['omitdebuginfo'] ? "" : "Body:\n") . trim($p['body'])."\n\n" : ""); |