From 96374bf58d6e747dd7092e839a13c9830bee6a32 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 --- 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.30.2