From cd0db2e8b88b39b66e282cfccc8960f4472ca817 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 7 Feb 2019 11:19:27 -0500 Subject: [PATCH] Bug 7534: (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)