From 5d3b6821047c0629b275f604e3b9ad8965df7902 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 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.39.5