From af81aaa8a615afff86d32b23c252b561d7e60d78 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Mon, 12 Sep 2022 16:24:31 +0000 Subject: [PATCH] Bug 30921: (QA follow-up) Remove unnecessary if MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The statement is already inside an if block with the same condition. Signed-off-by: Joonas Kylmälä Signed-off-by: Tomas Cohen Arazi --- Koha/OAI/Server/Repository.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/OAI/Server/Repository.pm b/Koha/OAI/Server/Repository.pm index 886131318b..0cd0df5dcf 100644 --- a/Koha/OAI/Server/Repository.pm +++ b/Koha/OAI/Server/Repository.pm @@ -190,7 +190,7 @@ sub get_biblio_marcxml { } } ); - $record_processor->process($record) if $expanded_avs; + $record_processor->process($record); } return $record ? $record->as_xml_record() : undef; -- 2.39.5