diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-05-07 13:02:51 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-05-07 13:02:51 -0700 |
commit | 83c97d29286c1f68ba66cd77c6119e36e78d0248 (patch) | |
tree | ee89ecf35f9f899e782dfe05cb439b24fcaf0f17 | |
parent | 5316c7deaf01870af0b26035bb194e3d873b027d (diff) |
fix svc_phone provisioning with new location, RT#34069
-rw-r--r-- | FS/FS/svc_phone.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm index fba232dd8..460addc96 100644 --- a/FS/FS/svc_phone.pm +++ b/FS/FS/svc_phone.pm @@ -346,6 +346,7 @@ sub insert { #false laziness w/cust_pkg.pm... move this to location_Mixin? that would #make it more of a base class than a mixin... :) if ( $options{'cust_location'} ) { + $options{'cust_location'}->custnum( $self->cust_svc->cust_pkg->custnum ); my $error = $options{'cust_location'}->find_or_insert; if ( $error ) { $dbh->rollback if $oldAutoCommit; |