diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:49:38 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:49:38 -0700 |
commit | fe58901b811f0ab26e8f93a9563fb93bc98e4c19 (patch) | |
tree | 035648bdef5c41f0e05929edc543692837fec40a /httemplate/misc/change_pkg_date.html | |
parent | 26484e261d7a6bd833d041b417b60e63db19edf7 (diff) |
scalar cgi param
Diffstat (limited to 'httemplate/misc/change_pkg_date.html')
-rwxr-xr-x | httemplate/misc/change_pkg_date.html | 2 |
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> |