summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2017-08-16 15:10:14 +0200
committerUrban Müller2017-08-16 15:10:14 +0200
commitc67e290061fc3ed7214b6f73b88730f1c87d7c10 (patch)
tree29937c6af1123b3acefc5b08e15449c5dc896bd6
parent82100af39d3f4efbb83f37e8e4b08bd93b506879 (diff)
downloaditools-c67e290061fc3ed7214b6f73b88730f1c87d7c10.tar.gz
itools-c67e290061fc3ed7214b6f73b88730f1c87d7c10.tar.bz2
itools-c67e290061fc3ed7214b6f73b88730f1c87d7c10.zip
only show filter params if actually in use
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 7d69d6c..50d171c 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['timewindow'] ? "Filter: timewindow=" . $p['graceperiod'] . "-" . ($p['graceperiod'] + $p['timewindow']) . "\n\n" : "";
+ $body .= $p['id'] ? "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" : "";