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