From 6ec2d13b9da8ca42a2553ca4e6b781d807678240 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 24 Apr 2020 11:31:33 +0200 Subject: [PATCH] Bug 24769: (bug 14711 follow-up 2) Fix typo in parameter name for AddReserve This patch fixes 2 other occurrences. The first one is in POD of AddReserve, the other one fixes SIP code Signed-off-by: David Nind Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- C4/Reserves.pm | 2 +- C4/SIP/ILS/Transaction/Hold.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 9c040bdc12..49a4445857 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -144,7 +144,7 @@ BEGIN { AddReserve( { - branch => $branchcode, + branchcode => $branchcode, borrowernumber => $borrowernumber, biblionumber => $biblionumber, priority => $priority, diff --git a/C4/SIP/ILS/Transaction/Hold.pm b/C4/SIP/ILS/Transaction/Hold.pm index d51ebde199..c86011e734 100644 --- a/C4/SIP/ILS/Transaction/Hold.pm +++ b/C4/SIP/ILS/Transaction/Hold.pm @@ -70,7 +70,7 @@ sub do_hold { AddReserve( { priority => $priority, - branch => $branch, + branchcode => $branch, borrowernumber => $patron->borrowernumber, biblionumber => $item->biblionumber } -- 2.39.5