[freeside-commits] branch FREESIDE_4_BRANCH updated. d682f657ca607bbae37ad4d0a3fc19190abd37c4

Mark Wells mark at 420.am
Sat Feb 27 21:16:34 PST 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  d682f657ca607bbae37ad4d0a3fc19190abd37c4 (commit)
      from  1872f4b9846ea77589a45a6b38654fc157f1f6f4 (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 d682f657ca607bbae37ad4d0a3fc19190abd37c4
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Feb 25 16:30:36 2016 -0800

    don't enforce service dependencies that have been disabled, #33685

diff --git a/FS/FS/cust_svc.pm b/FS/FS/cust_svc.pm
index 13e2e0f..d432747 100644
--- a/FS/FS/cust_svc.pm
+++ b/FS/FS/cust_svc.pm
@@ -601,7 +601,11 @@ link_type.
 sub part_svc_link {
   my $self = shift;
   my $agentnum = $self->pkgnum ? $self->cust_pkg->cust_main->agentnum : '';
-  FS::part_svc_link->by_agentnum($agentnum, src_svcpart=>$self->svcpart, @_);
+  FS::part_svc_link->by_agentnum($agentnum,
+    src_svcpart=>$self->svcpart,
+    disabled   => '',
+    @_
+  );
 }
 
 =item display_svcnum 

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

Summary of changes:
 FS/FS/cust_svc.pm |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list