summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2017-08-14 12:07:09 +0200
committerUrban Müller2017-08-14 12:07:09 +0200
commit8cec6105e76488e64024f5d174704417525e1e0e (patch)
tree4d3eced423d1777e9203b5705d0fcbeb76394ec9
parentd3d3da3103aa902764c831eb104569db2c22c9bb (diff)
downloaditools-8cec6105e76488e64024f5d174704417525e1e0e.tar.gz
itools-8cec6105e76488e64024f5d174704417525e1e0e.tar.bz2
itools-8cec6105e76488e64024f5d174704417525e1e0e.zip
use short syntax to indicate error filter
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 8934ef7..7d69d6c 100644
--- a/it.class
+++ b/it.class
@@ -249,7 +249,7 @@ static function error($p = array())
$stackframes[] = $stackframe;
$body .= "Host: " . getenv('HOSTNAME') . "\n\n";
- $body .= $p['id'] ? "Filter: graceperiod={$p['graceperiod']} timewindow={$p['timewindow']}\n\n" : "";
+ $body .= $p['timewindow'] ? "Filter: timewindow=" . $p['graceperiod'] . "-" . ($p['graceperiod'] + $p['timewindow']) . "\n\n" : "";
$body .= "Time: " . date("Y-m-d H:i:s") . "\n\n"; # no it::date() because of time- debug param
$body .= $_GET ? "\$_GET: " . var_export($_GET, true) . "\n\n" : "";
$body .= $_POST ? "\$_POST: " . var_export($_POST, true) . "\n\n" : "";