fix quotation package locations reverting to customer default location on order,...
[freeside.git] / FS / FS / cust_main / Packages.pm
index 9e21dd2..3f4792e 100644 (file)
@@ -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);