Merge pull request #1199 from SamBrishes/patch-006
[BUGFIX] AJAX Error Message when uploading Images
This commit is contained in:
commit
9095ef077a
@ -69,9 +69,6 @@ foreach ($_FILES['images']['name'] as $uuid=>$filename) {
|
||||
// Transform the image and generate the thumbnail
|
||||
$image = transformImage(PATH_TMP.$filename, $imageDirectory, $thumbnailDirectory);
|
||||
|
||||
// Delete temporary file
|
||||
Filesystem::rmfile(PATH_TMP.$filename);
|
||||
|
||||
if ($image) {
|
||||
chmod($image, 0644);
|
||||
$filename = Filesystem::filename($image);
|
||||
|
Loading…
Reference in New Issue
Block a user