summaryrefslogtreecommitdiff
path: root/httemplate/misc/email-customer-statement.html
diff options
context:
space:
mode:
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++
});
}