[freeside-commits] branch FREESIDE_3_BRANCH updated. 0e50833deb77ce7eff66fe7da5d68647b82d7280

Ivan ivan at 420.am
Tue May 6 12:54:30 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  0e50833deb77ce7eff66fe7da5d68647b82d7280 (commit)
      from  43b1f73646063b4614ce8701f7e4755920c7eff2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0e50833deb77ce7eff66fe7da5d68647b82d7280
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue May 6 12:54:26 2014 -0700

    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 9eef6ac..e072e26 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>

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/cust_main/packages.html |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)




More information about the freeside-commits mailing list