summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-09-25 14:50:18 -0700
committerIvan Kohler <ivan@freeside.biz>2016-09-25 14:50:18 -0700
commit8ab9d14a304aacdefd98e80c143132b10194d8c8 (patch)
tree05b2979c4d30310f20c1fd416327cb69524097de /httemplate/elements
parent809b7b5c08393a3cba0f7d8682eff3d72e4f4e32 (diff)
scalar cgi param
Diffstat (limited to 'httemplate/elements')
-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 = @_;