From fde75e37e0cb48eba274c413c02a40d156ea3613 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 7 Feb 2019 11:19:27 -0500 Subject: [PATCH] Bug 3534: (QA Follow-up) Fix the return value for the new format, it should be a hashref, not a string --- C4/Reserves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 77880dc737..fce8656e3b 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -484,7 +484,7 @@ sub CanItemBeReserved { return { status => 'libraryNotPickupLocation' }; } unless ($item->can_be_transferred({ to => $destination })) { - return 'cannotBeTransferred'; + return { status => ''cannotBeTransferred'; } } -- 2.17.2 (Apple Git-113)