From ebbcc3b511ea269a14838e0294d7e9c8038f6b1e 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 --- 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 5ad94c90de..cb1eb0e2ac 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.20.1