From ff7f342db5200af4c010b85978ec62ec7efc7409 Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Fri, 13 Jun 2025 10:29:11 +0200 Subject: [PATCH] Bug 38928: (QA follow-up) --- Koha/ILL/Backend/Standard.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/ILL/Backend/Standard.pm b/Koha/ILL/Backend/Standard.pm index a4c54788..444c0074 100644 --- a/Koha/ILL/Backend/Standard.pm +++ b/Koha/ILL/Backend/Standard.pm @@ -1095,7 +1095,7 @@ sub _openurl_to_ill { # Otherwise, pass it through untransformed and maybe move it # to our custom parameters array if ( !exists $ignore->{$meta_key} ) { - if ($meta_key eq 'id' || $meta_key eq 'rft_id') { + if ( $meta_key eq 'id' || $meta_key eq 'rft_id' ) { if ( $params->{other}->{$meta_key} =~ /:/ ) { my ( $k, $v ) = split /:/, $params->{other}->{$meta_key}, 2; if ( defined $k && defined $v ) { @@ -1104,7 +1104,7 @@ sub _openurl_to_ill { } else { $return->{doi} = $params->{other}->{$meta_key}; } - }else{ + } else { push @{$custom_key}, $meta_key; push @{$custom_value}, $params->{other}->{$meta_key}; } -- 2.30.2