From 688759b0d5a62c47ca5a34e51e94adc2d4b132e6 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 23 Feb 2024 07:16:02 +0000 Subject: [PATCH] Bug 34478: (follow-up) upload-cover-image.pl: Remove bitwise-and from condition Add one character and we should be fine :) Signed-off-by: Jonathan Druart --- tools/upload-cover-image.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/upload-cover-image.pl b/tools/upload-cover-image.pl index 28db64a4da..e78f360947 100755 --- a/tools/upload-cover-image.pl +++ b/tools/upload-cover-image.pl @@ -98,7 +98,7 @@ $template->param( my $total = 0; my @results; -if ( $op eq 'cud-process' & $fileID ) { +if ( $op eq 'cud-process' && $fileID ) { my $upload = Koha::UploadedFiles->find( $fileID ); if ( $filetype eq 'image' ) { my $fh = $upload->file_handle; -- 2.39.5