From 44f1d8cc74a8bbdadd93deb19a36bce0442f561e 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: Jonathan Druart --- 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 29420fc69d..acc71f5fc6 100755 --- a/tools/upload-cover-image.pl +++ b/tools/upload-cover-image.pl @@ -205,8 +205,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