projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b1f73
)
fix mis-application of patch to 3.x, RT#28526
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 6 May 2014 19:54:26 +0000
(12:54 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 6 May 2014 19:54:26 +0000
(12:54 -0700)
httemplate/view/cust_main/packages.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/packages.html
b/httemplate/view/cust_main/packages.html
index
9eef6ac
..
e072e26
100755
(executable)
--- 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>