summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2021-03-15 17:53:31 +0100
committerUrban Müller2021-03-15 17:53:31 +0100
commit5b961eaa9a3063c557010089d8a674ccc524a1fd (patch)
treea86526eb6e0eee1ea6af4bee5249d5a98b6230c1
parent7e2d22ccc5be7766d1ba17535ab227f3f606101c (diff)
downloaditools-5b961eaa9a3063c557010089d8a674ccc524a1fd.tar.gz
itools-5b961eaa9a3063c557010089d8a674ccc524a1fd.tar.bz2
itools-5b961eaa9a3063c557010089d8a674ccc524a1fd.zip
filter info not needed interactively
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 377ddec..9a4cf86 100644
--- a/it.class
+++ b/it.class
@@ -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" : "");