[freeside-commits] branch FREESIDE_3_BRANCH updated. 83c97d29286c1f68ba66cd77c6119e36e78d0248

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


The branch, FREESIDE_3_BRANCH has been updated
       via  83c97d29286c1f68ba66cd77c6119e36e78d0248 (commit)
      from  5316c7deaf01870af0b26035bb194e3d873b027d (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 83c97d29286c1f68ba66cd77c6119e36e78d0248
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu May 7 13:02:51 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 fba232d..460addc 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;

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

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




More information about the freeside-commits mailing list