From b349efcdfca51785e6e202d36abb0fe7184c961e Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 23 Jul 2015 12:41:06 -0700 Subject: [PATCH] scalar cgi param --- httemplate/misc/email-customer-statement.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/misc/email-customer-statement.html b/httemplate/misc/email-customer-statement.html index 92ce1c4d1..c0ed88031 100644 --- a/httemplate/misc/email-customer-statement.html +++ b/httemplate/misc/email-customer-statement.html @@ -82,7 +82,7 @@ my $post_search_hook = sub { 'history' => [ $cust_main->payment_history( map { - $_ => parse_datetime($cgi->param($_)) + $_ => parse_datetime(scalar($cgi->param($_))) } qw( start_date end_date ), ), -- 2.11.0