[Bps-public-commit] net-journyx branch, master, updated. f84e85e0137c07730392fde0852d57815210d770

Thomas Sibley trs at bestpractical.com
Thu Sep 8 13:22:30 EDT 2011


The branch, master has been updated
       via  f84e85e0137c07730392fde0852d57815210d770 (commit)
      from  c0a0962630ac34a0e6c87c4d77eb91893140029c (commit)

Summary of changes:
 lib/Net/Journyx/Group.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit f84e85e0137c07730392fde0852d57815210d770
Author: Thomas Sibley <tom at zulutango.org>
Date:   Thu Sep 8 13:22:08 2011 -0400

    Somehow a hashref slipped into the results, but we never want that

diff --git a/lib/Net/Journyx/Group.pm b/lib/Net/Journyx/Group.pm
index ced59ef..43c8c27 100644
--- a/lib/Net/Journyx/Group.pm
+++ b/lib/Net/Journyx/Group.pm
@@ -63,7 +63,7 @@ sub list_records {
     $res = [$res] unless ref($res) eq 'ARRAY';
 
     # XXX: Strange but operation returns string 'Other' as well
-    return grep defined && length && $_ ne 'Other', @$res;
+    return grep defined && !ref($_) && length && $_ ne 'Other', @$res;
 }
 
 sub add_record {

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



More information about the Bps-public-commit mailing list