From 4e631a682a51f31602731364be948f3fbe04cf69 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 23 Jul 2015 12:41:03 -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 df95d7fb3..20430f5b1 100644 --- a/httemplate/misc/email-customer-statement.html +++ b/httemplate/misc/email-customer-statement.html @@ -79,7 +79,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