summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-01-22 07:47:05 +0100
committerTobi Oetiker <tobi@oetiker.ch>2008-01-22 07:47:05 +0100
commit1c86305fb4234cf4e8d81c461dc515ef1db6ec06 (patch)
treef9c4a55ece84b4f9d3d035550ce2947c2cd60c05 /lib
parent88c73fdb0c653f6366a06c21aa9c055245b8641a (diff)
downloadsmokeping-1c86305fb4234cf4e8d81c461dc515ef1db6ec06.tar.gz
smokeping-1c86305fb4234cf4e8d81c461dc515ef1db6ec06.tar.xz
fix hierarchy property problem introduced in previouse patch
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 3c76cca..6f1b31d 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1298,7 +1298,7 @@ sub get_detail ($$$$;$){
$page .= $q->start_form(-method=>'GET', -id=>'range_form')
. "<p>Time range: "
. $q->hidden(-name=>'epoch_start',-id=>'epoch_start',-default=>$start)
- . ($q->param('hierarchy') ? $q->hidden(-name=>'hierarchy',-id=>'hierarchy') : '')
+ . $q->hidden(-name=>'hierarchy',-id=>'hierarchy')
. $q->hidden(-name=>'epoch_end',-id=>'epoch_end',-default=>time())
. $q->hidden(-name=>'target',-id=>'target' )
. $q->hidden(-name=>'displaymode',-default=>$mode )