summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-05-07 13:02:51 -0700
committerIvan Kohler <ivan@freeside.biz>2015-05-07 13:02:51 -0700
commit83c97d29286c1f68ba66cd77c6119e36e78d0248 (patch)
treeee89ecf35f9f899e782dfe05cb439b24fcaf0f17 /FS
parent5316c7deaf01870af0b26035bb194e3d873b027d (diff)
fix svc_phone provisioning with new location, RT#34069
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/svc_phone.pm1
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;