[freeside-commits] branch FREESIDE_3_BRANCH updated. a8fac25bb0a138fd8fa7d87c6e4cee1de6fd4748
Ivan
ivan at 420.am
Mon Jun 9 11:10:23 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via a8fac25bb0a138fd8fa7d87c6e4cee1de6fd4748 (commit)
from 2e2f9b6ea9598b6e087baa9b9f0974ba0f2cff44 (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 a8fac25bb0a138fd8fa7d87c6e4cee1de6fd4748
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jun 9 11:10:22 2014 -0700
fix cust_svc_unsorted when there are no services, RT#27267
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index a1f2cb1..4a98b73 100644
--- 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+/ ) {
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_pkg.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list