From e96865ba4edb00ec93fd164f6242b3f175072195 Mon Sep 17 00:00:00 2001 From: Alex Sassmannshausen Date: Tue, 2 May 2017 10:12:58 +0200 Subject: [PATCH] Bug 7317: Bugfix: Use correct column names in check_limits. * Koha/Illrequest.pm (check_limits): Change column names used to `branchcode` & `borrowernumber`. --- Koha/Illrequest.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index 0f8bca8107..de6c3a324d 100644 --- a/Koha/Illrequest.pm +++ b/Koha/Illrequest.pm @@ -661,10 +661,10 @@ sub check_limits { = ( $branch_rules->{count}, $brw_rules->{count} ); my ( $branch_count, $brw_count ) = ( $self->_limit_counter( - $branch_rules->{method}, { branch_id => $branchcode } + $branch_rules->{method}, { branchcode => $branchcode } ), $self->_limit_counter( - $brw_rules->{method}, { borrower_id => $patron->borrowernumber } + $brw_rules->{method}, { borrowernumber => $patron->borrowernumber } ), ); -- 2.12.2