Unbreaking wrong-direction conflict resolution from previous commit
authorMike Rylander <mrylander@gmail.com>
Thu, 11 Jul 2013 16:31:37 +0000 (12:31 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 11 Jul 2013 16:31:37 +0000 (12:31 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm

index 13870af..4ed79c7 100644 (file)
@@ -517,8 +517,8 @@ sub __format_holds {
     }
 
     return (defined $start and defined $end) ? 
-        [ @holds[($start-1)..($end-1)] ] :
-        \@holds;
+        [ @response[($start-1)..($end-1)] ] :
+        \@response;
 }
 
 # Finds a representative copy for the given hold.