summaryrefslogtreecommitdiff
path: root/httemplate/misc/email-customer-statement.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/email-customer-statement.html
parent840dbc8beed6098e3b7ae17dc2553a39f5476553 (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++
});
}