[freeside-commits] branch master updated. 00a60cd6783c5bf541a49ed41e945151773f130f

Ivan ivan at 420.am
Thu May 7 13:02:50 PDT 2015


The branch, master has been updated
       via  00a60cd6783c5bf541a49ed41e945151773f130f (commit)
      from  e8c4b03fdbd5fe1d2c16844ac5c598cb3ff436a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 00a60cd6783c5bf541a49ed41e945151773f130f
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu May 7 13:02:47 2015 -0700

    fix svc_phone provisioning with new location, RT#34069

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;

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/svc_phone.pm |    1 +
 1 file changed, 1 insertion(+)




More information about the freeside-commits mailing list