projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e7bad3b
)
avoid throwing an error on unlinked services, RT#31388
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 10 Dec 2015 09:57:28 +0000
(
01:57
-0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 10 Dec 2015 09:57:28 +0000
(
01:57
-0800)
FS/FS/cust_svc.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_svc.pm
b/FS/FS/cust_svc.pm
index
9d7eb7a
..
29298b8
100644
(file)
--- a/
FS/FS/cust_svc.pm
+++ b/
FS/FS/cust_svc.pm
@@
-1119,7
+1119,7
@@
sub _check_provision_hold {
# check status of cust_pkg
my $cust_pkg = $self->cust_pkg;
# 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
# check flag on this svc
# small false laziness with $self->pkg_svc