summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-time-from_to.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/select-time-from_to.html')
-rw-r--r--httemplate/elements/select-time-from_to.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/select-time-from_to.html b/httemplate/elements/select-time-from_to.html
index 9d49b7ab8..e41731345 100644
--- a/httemplate/elements/select-time-from_to.html
+++ b/httemplate/elements/select-time-from_to.html
@@ -2,14 +2,14 @@
%opt,
'field' => $opt{'prefix'}. 'stime',
'selected_default' => 480, #8am... configure?
- 'curr_value' => $cgi->param($opt{'prefix'}.'stime'),
+ 'curr_value' => scalar($cgi->param($opt{'prefix'}.'stime')),
&>
-
<& select-time.html,
%opt,
'field' => $opt{'prefix'}. 'etime',
'selected_default' => 1080, #6pm.. configure?
- 'curr_value' => $cgi->param($opt{'prefix'}.'etime'),
+ 'curr_value' => scalar($cgi->param($opt{'prefix'}.'etime')),
&>
<%init>
my %opt = @_;