[freeside-commits] branch FREESIDE_3_BRANCH updated. 7164a8b3fa123301ecc797fb1798af92e4652c22
Ivan
ivan at 420.am
Mon Nov 7 12:41:32 PST 2016
The branch, FREESIDE_3_BRANCH has been updated
via 7164a8b3fa123301ecc797fb1798af92e4652c22 (commit)
from a85fa2e48276fe14334d7d414fd3c0cbca8ed3c6 (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 7164a8b3fa123301ecc797fb1798af92e4652c22
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Nov 7 12:41:31 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 a490050..4201cf8 100644
--- a/FS/FS/cust_main/Packages.pm
+++ b/FS/FS/cust_main/Packages.pm
@@ -149,7 +149,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