[freeside-commits] branch FREESIDE_4_BRANCH updated. 16b368a256a6dde387221224464c6bf0bcda804e

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


The branch, FREESIDE_4_BRANCH has been updated
       via  16b368a256a6dde387221224464c6bf0bcda804e (commit)
      from  ebbd08ba62328743bf0d5d0b47f2e9a192288a74 (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 16b368a256a6dde387221224464c6bf0bcda804e
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Nov 7 12:41:30 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 3920376..4c79c7d 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