X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselect-time-from_to.html;fp=httemplate%2Felements%2Fselect-time-from_to.html;h=e4173134572687806dc8649e18532dd9c79352d3;hp=9d49b7ab821e7c43ffd7491531f9ec45e55188e5;hb=fe58901b811f0ab26e8f93a9563fb93bc98e4c19;hpb=26484e261d7a6bd833d041b417b60e63db19edf7 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 = @_;