From 5985b40c4d8c5cd7b956589edf07b6fa0a4a3dd6 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 23 Jan 2014 14:09:45 -0800 Subject: [PATCH] minor syntax error --- httemplate/edit/process/quick-cust_pkg.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/edit/process/quick-cust_pkg.cgi b/httemplate/edit/process/quick-cust_pkg.cgi index 95c92432e..c3ab6fec3 100644 --- a/httemplate/edit/process/quick-cust_pkg.cgi +++ b/httemplate/edit/process/quick-cust_pkg.cgi @@ -134,7 +134,7 @@ my %hash = ( $hash{'custnum'} = $cust_main->custnum if $cust_main; my @cust_pkg_usageprice = (); -foreach my $quantity_param ( grep ( $cgi->param($_) && $cgi->param($_) > 0 ), +foreach my $quantity_param ( grep { $cgi->param($_) && $cgi->param($_) > 0 } grep /^usagepricenum(\d+)_quantity$/, $cgi->param ) -- 2.11.0