LP#1712861 - Correct perl syntax user/csharp/lp1712861-notices-column-picker-patron-holds
authorChris Sharp <csharp@georgialibraries.org>
Tue, 22 Oct 2019 17:35:20 +0000 (13:35 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 22 Oct 2019 17:42:40 +0000 (13:42 -0400)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm

index 67b6782..a383ba6 100644 (file)
@@ -2392,7 +2392,7 @@ SELECT  h.id, h.request_time, h.capture_time, h.fulfillment_time, h.checkin_time
 
         my $sel_str = '';
         if (ref($$restrictions{$r}) and ref($$restrictions{$r}) =~ /HASH/) {
-            for my $rkey (keys %$restrictions{$r}) {
+            for my $rkey (keys %{$restrictions{$r}}) {
                 $sel_str .= handle_wide_hold_restrictions($$restrictions{$r}{$rkey}, $real, $rkey);
             }
             $select .= $sel_str;