From 3439d5c42293d8b3c48747d9f4f619cfd578bc6e Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 15 Jan 2025 12:38:58 +0000 Subject: [PATCH] Bug 36197: (QA follow-up): Fix testcritic.t prove t/00-testcritic.t --- Koha/ILL/Backend/Standard.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/ILL/Backend/Standard.pm b/Koha/ILL/Backend/Standard.pm index 60888517c6b..b66490062f0 100644 --- a/Koha/ILL/Backend/Standard.pm +++ b/Koha/ILL/Backend/Standard.pm @@ -984,7 +984,8 @@ sub add_request { # generate $request_details my $request_details = _get_request_details( $params, $params->{other} ); - my ( $brw_count, $brw ) = + my ( $brw_count, $brw ); + ( $brw_count, $brw ) = _validate_borrower( $params->{other}->{'cardnumber'} ) unless $unauthenticated_request; ## Create request -- 2.39.5