summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
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>