From dc4f4ce132705a467e6e4de3e8eadf16c3669cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20H=C3=A4rter?= Date: Thu, 18 Jul 2024 08:26:40 +0200 Subject: [PATCH] Issue #3602: Removed FormIDAddFile return check from PictureUpload. Let CKEditor take care of file upload. --- Kernel/Modules/PictureUpload.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Kernel/Modules/PictureUpload.pm b/Kernel/Modules/PictureUpload.pm index f0efafcf56..8f250ea0b1 100644 --- a/Kernel/Modules/PictureUpload.pm +++ b/Kernel/Modules/PictureUpload.pm @@ -209,14 +209,13 @@ sub Run { } # add uploaded file to upload cache - my $Success = $UploadCacheObject->FormIDAddFile( + $UploadCacheObject->FormIDAddFile( FormID => $FormID, Filename => $FilenameTmp, Content => $File{Content}, ContentType => $File{ContentType} . '; name="' . $FilenameTmp . '"', Disposition => 'inline', ); - return unless $Success; # get new content id my $ContentIDNew = '';