[freeside-commits] branch master updated. b58f35d5de926f2f9187e9c5052ef70f0e652124

Ivan ivan at 420.am
Mon Jun 9 11:10:21 PDT 2014


The branch, master has been updated
       via  b58f35d5de926f2f9187e9c5052ef70f0e652124 (commit)
      from  fe3b73fe0445e6f233ff19125b6b66eb6016566b (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 b58f35d5de926f2f9187e9c5052ef70f0e652124
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jun 9 11:10:20 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 cabecd6..bf423cd 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+/ ) {

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_pkg.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list