diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-11-07 12:41:31 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-11-07 12:41:31 -0800 |
commit | 7164a8b3fa123301ecc797fb1798af92e4652c22 (patch) | |
tree | 358fb57f2f350a3cb396f5fb6ff09ee37ce7853c | |
parent | a85fa2e48276fe14334d7d414fd3c0cbca8ed3c6 (diff) |
fix quotation package locations reverting to customer default location on order, RT#73236
-rw-r--r-- | FS/FS/cust_main/Packages.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); |