X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_phone.pm;h=525025f4b8e5d8ea445a1c2288e0ba59571c9433;hb=00a60cd6783c5bf541a49ed41e945151773f130f;hp=71a61ad16921e3e3cb81ef42916d78e2d2e3991f;hpb=ec7e8155fce544f19f2b6734476ed6db8c200aa9;p=freeside.git diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm index 71a61ad16..525025f4b 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;