summaryrefslogtreecommitdiff
path: root/httemplate/misc/change_pkg_date.html
diff options
context:
space:
mode:
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>