summaryrefslogtreecommitdiff
path: root/httemplate/misc/change_pkg_date.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-09-25 14:49:44 -0700
committerIvan Kohler <ivan@freeside.biz>2016-09-25 14:49:44 -0700
commita6a4b17cbf6359fecde5135727a59b1f7b54cd9f (patch)
tree978da1610c9e6b80bf2c6f2bc41257bbcd3d6779 /httemplate/misc/change_pkg_date.html
parent840dbc8beed6098e3b7ae17dc2553a39f5476553 (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>