[freeside-commits] branch FREESIDE_4_BRANCH updated. 457f1c94eca83b791ea4bfcb8cd43f8feeb7831c
Ivan
ivan at 420.am
Thu Dec 10 01:57:28 PST 2015
The branch, FREESIDE_4_BRANCH has been updated
via 457f1c94eca83b791ea4bfcb8cd43f8feeb7831c (commit)
from bae965143e7933331a608eb8f2a56bba0a844a3c (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 457f1c94eca83b791ea4bfcb8cd43f8feeb7831c
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Dec 10 01:57:25 2015 -0800
avoid throwing an error on unlinked services, RT#31388
diff --git a/FS/FS/cust_svc.pm b/FS/FS/cust_svc.pm
index 376ef02..0223f93 100644
--- a/FS/FS/cust_svc.pm
+++ b/FS/FS/cust_svc.pm
@@ -1252,7 +1252,7 @@ sub _check_provision_hold {
# check status of cust_pkg
my $cust_pkg = $self->cust_pkg;
- return '' unless $cust_pkg->status eq 'on hold';
+ return '' unless $cust_pkg && $cust_pkg->status eq 'on hold';
# check flag on this svc
# small false laziness with $self->pkg_svc
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_svc.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list