summaryrefslogtreecommitdiff
path: root/httemplate/misc/email-customer-statement.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/email-customer-statement.html
parent26484e261d7a6bd833d041b417b60e63db19edf7 (diff)
scalar cgi param
Diffstat (limited to 'httemplate/misc/email-customer-statement.html')
-rw-r--r--httemplate/misc/email-customer-statement.html6
1 files changed, 3 insertions, 3 deletions
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++
});
}