From: Ivan Kohler Date: Tue, 6 May 2014 19:54:26 +0000 (-0700) Subject: fix mis-application of patch to 3.x, RT#28526 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=0e50833deb77ce7eff66fe7da5d68647b82d7280;p=freeside.git fix mis-application of patch to 3.x, RT#28526 --- diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 9eef6acf8..e072e2689 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -246,12 +246,12 @@ sub get_packages { # (as will change-target packages) @packages = grep !$_->main_pkgnum, @packages; - ( \@packages, $num_old_packages ); -} + foreach my $cust_pkg ( @packages ) { + $cust_pkg->{'_cust_pkg_discount_active'} = + [ $cust_pkg->cust_pkg_discount_active ]; + } -foreach my $cust_pkg ( @packages ) { - $cust_pkg->{'_cust_pkg_discount_active'} = - [ $cust_pkg->cust_pkg_discount_active ]; + ( \@packages, $num_old_packages ); }