summaryrefslogtreecommitdiff
path: root/httemplate/misc/change_pkg_date.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-09-25 14:49:38 -0700
committerIvan Kohler <ivan@freeside.biz>2016-09-25 14:49:38 -0700
commitfe58901b811f0ab26e8f93a9563fb93bc98e4c19 (patch)
tree035648bdef5c41f0e05929edc543692837fec40a /httemplate/misc/change_pkg_date.html
parent26484e261d7a6bd833d041b417b60e63db19edf7 (diff)
scalar cgi param
Diffstat (limited to 'httemplate/misc/change_pkg_date.html')
-rwxr-xr-xhttemplate/misc/change_pkg_date.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/change_pkg_date.html b/httemplate/misc/change_pkg_date.html
index 642a5b89e..dabb90de8 100755
--- a/httemplate/misc/change_pkg_date.html
+++ b/httemplate/misc/change_pkg_date.html
@@ -43,7 +43,7 @@
<label for="when_date"> <% emt('On this date:') %> </label>
<& /elements/input-date-field.html,
{ name => 'date_value',
- value => $cgi->param('date_value') || $cust_pkg->get($field),
+ value => ( scalar($cgi->param('date_value')) || $cust_pkg->get($field) ),
}
&>
</LI>