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

index df95d7f..20430f5 100644 (file)
@@ -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 ),
         ),