diff options
author | Urban Müller | 2017-08-16 15:10:14 +0200 |
---|---|---|
committer | Urban Müller | 2017-08-16 15:10:14 +0200 |
commit | c67e290061fc3ed7214b6f73b88730f1c87d7c10 (patch) | |
tree | 29937c6af1123b3acefc5b08e15449c5dc896bd6 /it.class | |
parent | 82100af39d3f4efbb83f37e8e4b08bd93b506879 (diff) | |
download | itools-c67e290061fc3ed7214b6f73b88730f1c87d7c10.tar.gz itools-c67e290061fc3ed7214b6f73b88730f1c87d7c10.tar.bz2 itools-c67e290061fc3ed7214b6f73b88730f1c87d7c10.zip |
only show filter params if actually in use
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" : ""; |