fixed typo and return type error
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Feb 2008 00:31:18 +0000 (00:31 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Feb 2008 00:31:18 +0000 (00:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@8793 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm

index c386f22..e2b32db 100644 (file)
@@ -463,9 +463,9 @@ sub objects_allowed {
         push(@ids, 0+$_->{object_id}) for @$list;
     }
 
-   my %trim
+   my %trim;
    $trim{$_} = 1 for @ids;
-   return keys %trim;
+   return [ keys %trim ];
 }