scalar cgi param
[freeside.git] / 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 ),
         ),