summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-05-06 12:54:26 -0700
committerIvan Kohler <ivan@freeside.biz>2014-05-06 12:54:26 -0700
commit0e50833deb77ce7eff66fe7da5d68647b82d7280 (patch)
tree606085d62538b9d24b2fc0c68c66a039af7a7c98 /httemplate
parent43b1f73646063b4614ce8701f7e4755920c7eff2 (diff)
fix mis-application of patch to 3.x, RT#28526
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/view/cust_main/packages.html10
1 files changed, 5 insertions, 5 deletions
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 );
}
</%init>