From 8d04f4fbf1200856996606d6bdd8f75b534d819f 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 --- 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 7ddd13adbcc..594096d4930 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.43.0