diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-06-09 11:10:20 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-06-09 11:10:20 -0700 |
commit | b58f35d5de926f2f9187e9c5052ef70f0e652124 (patch) | |
tree | 04f315ea53e1f9959d32bac0adf55815be49d7c6 /FS/FS | |
parent | fe3b73fe0445e6f233ff19125b6b66eb6016566b (diff) |
fix cust_svc_unsorted when there are no services, RT#27267
Diffstat (limited to 'FS/FS')
-rw-r--r-- | FS/FS/cust_pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index cabecd6bb..bf423cd77 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -2799,7 +2799,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+/ ) { |