From fe58901b811f0ab26e8f93a9563fb93bc98e4c19 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 25 Sep 2016 14:49:38 -0700 Subject: scalar cgi param --- httemplate/misc/email-customer-statement.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'httemplate/misc/email-customer-statement.html') diff --git a/httemplate/misc/email-customer-statement.html b/httemplate/misc/email-customer-statement.html index 39c99e515..7ed380b58 100644 --- a/httemplate/misc/email-customer-statement.html +++ b/httemplate/misc/email-customer-statement.html @@ -25,9 +25,9 @@ my $alternate_form = sub { my $label = ucfirst($_); $label =~ s/_/ /; include('/elements/tr-input-date-field.html',{ - 'name' => $_, - 'value' => $cgi->param($_) || '', - 'label' => $label, + 'name' => $_, + 'value' => ( scalar($cgi->param($_)) || '' ), + 'label' => $label, 'noinit' => $noinit++ }); } -- cgit v1.2.1