From 55ae500d0f3dd9caae2e9ae53b4d512736e82ad6 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 Signed-off-by: Tomas Cohen Arazi --- 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 86cf029e1a7..2fdc4ff98ee 100644 --- a/Koha/ILL/Backend/Standard.pm +++ b/Koha/ILL/Backend/Standard.pm @@ -986,7 +986,8 @@ sub add_request { # generate $request_details my $request_details = _get_request_details( $params, $params->{other} ); - my ( $brw_count, $brw ) = _validate_borrower( $params->{other}->{'cardnumber'} ) unless $unauthenticated_request; + my ( $brw_count, $brw ); + ( $brw_count, $brw ) = _validate_borrower( $params->{other}->{'cardnumber'} ) unless $unauthenticated_request; ## Create request -- 2.49.0