scalar cgi param
authorIvan Kohler <ivan@freeside.biz>
Thu, 23 Jul 2015 19:41:06 +0000 (12:41 -0700)
committerIvan Kohler <ivan@freeside.biz>
Thu, 23 Jul 2015 19:41:06 +0000 (12:41 -0700)
httemplate/misc/email-customer-statement.html

index 92ce1c4..c0ed880 100644 (file)
@@ -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 ),
         ),