summaryrefslogtreecommitdiff
path: root/FS/FS/svc_phone.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-05-07 13:02:47 -0700
committerIvan Kohler <ivan@freeside.biz>2015-05-07 13:02:47 -0700
commit00a60cd6783c5bf541a49ed41e945151773f130f (patch)
treee13fcd8a6856541b14bc128fdd03059655cf7db7 /FS/FS/svc_phone.pm
parente8c4b03fdbd5fe1d2c16844ac5c598cb3ff436a1 (diff)
fix svc_phone provisioning with new location, RT#34069
Diffstat (limited to 'FS/FS/svc_phone.pm')
-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 71a61ad..525025f 100644
--- a/FS/FS/svc_phone.pm
+++ b/FS/FS/svc_phone.pm
@@ -348,6 +348,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;