summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2020-09-23 16:27:03 +0200
committerUrban Müller2020-09-23 16:27:03 +0200
commite5ad0812c8c39aafc547ecb536adbcacdf8db7de (patch)
tree8c08c097c0ab4bd3ae17712ee72c517938314252 /it.class
parentafe4dee143346d72275a7b67a9e75c800a8027fe (diff)
downloaditools-e5ad0812c8c39aafc547ecb536adbcacdf8db7de.tar.gz
itools-e5ad0812c8c39aafc547ecb536adbcacdf8db7de.tar.bz2
itools-e5ad0812c8c39aafc547ecb536adbcacdf8db7de.zip
resend info irrelevant on devel
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index ba936ad..a50d325 100644
--- a/it.class
+++ b/it.class
@@ -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
($sendmail ? self::$error_context : "") .
($p['id'] ? "Filter: timewindow=" . $p['graceperiod'] . "-" . ($p['graceperiod'] + $p['timewindow']) . " (previous err: " . it::date('', $errstamp) . ")\n" : "") .
- (!$origp['blockmail'] || $p['omitdebuginfo'] ? "" : "Block-resend: " . $origp['blockmail'] . " seconds\n") .
+ (!$origp['blockmail'] || $p['omitdebuginfo'] || $toscreen ? "" : "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