projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e2f9b6
)
fix cust_svc_unsorted when there are no services, RT#27267
author
Ivan Kohler
<ivan@freeside.biz>
Mon, 9 Jun 2014 18:10:22 +0000
(11:10 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Mon, 9 Jun 2014 18:10:22 +0000
(11:10 -0700)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
a1f2cb1
..
4a98b73
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-2818,7
+2818,7
@@
sub cust_svc_unsorted {
sub cust_svc_unsorted_arrayref {
my $self = shift;
- return
()
unless $self->num_cust_svc(@_);
+ return
[]
unless $self->num_cust_svc(@_);
my %opt = ();
if ( @_ && $_[0] =~ /^\d+/ ) {