From 224262e25b1ba3749e5f87e24ae1700cb65c0094 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Thu, 23 Nov 2023 21:08:09 +0000 Subject: [PATCH] Bug 35291: (QA follow-up) Tidying script for QA test tools Signed-off-by: Aleisha Amohia Signed-off-by: Tomas Cohen Arazi Signed-off-by: Lucas Gass --- tools/upload-cover-image.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/upload-cover-image.pl b/tools/upload-cover-image.pl index 7ddd13adbc..594096d493 100755 --- a/tools/upload-cover-image.pl +++ b/tools/upload-cover-image.pl @@ -242,8 +242,8 @@ if ($fileID) { } undef $srcimage; - if (!$error && C4::Context->preference("CataloguingLog")) { - logaction('CATALOGUING', 'MODIFY', $biblionumber, "biblio cover image: $filename"); + if ( !$error && C4::Context->preference("CataloguingLog") ) { + logaction( 'CATALOGUING', 'MODIFY', $biblionumber, "biblio cover image: $filename" ); } } -- 2.39.5