[freeside-commits] branch master updated. cee98c61a9317a0ce86fd7e625235c302cc0f056

Ivan ivan at 420.am
Mon Nov 7 12:41:29 PST 2016


The branch, master has been updated
       via  cee98c61a9317a0ce86fd7e625235c302cc0f056 (commit)
      from  db5785cba180e2c210d3ab4d37064c7e61898614 (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 cee98c61a9317a0ce86fd7e625235c302cc0f056
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Nov 7 12:41:28 2016 -0800

    fix quotation package locations reverting to customer default location on order, RT#73236

diff --git a/FS/FS/cust_main/Packages.pm b/FS/FS/cust_main/Packages.pm
index 9e21dd2..3f4792e 100644
--- a/FS/FS/cust_main/Packages.pm
+++ b/FS/FS/cust_main/Packages.pm
@@ -155,7 +155,7 @@ sub order_pkg {
     }
     $cust_pkg->locationnum($opt->{'cust_location'}->locationnum);
 
-  } else {
+  } elsif ( ! $cust_pkg->locationnum ) {
 
     $cust_pkg->locationnum($self->ship_locationnum);
 

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

Summary of changes:
 FS/FS/cust_main/Packages.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list