X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Femail-customer-statement.html;h=7ed380b58fedf86fff7181a8dbaae4f7d1112ce6;hb=2a56c671635687bf2648eb3a7cf4bce228101af3;hp=39c99e515a0b066d9646a21d2b4b8991409b831b;hpb=dacfac92a13152bb3060ac000121b41ffc8d877f;p=freeside.git 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++ }); }