Skip to content

Commit d42951b

Browse files
author
Stanislav Idolov
authored
Make constructor backward compatible
1 parent 24e17f6 commit d42951b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/ImageUploader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function __construct(
9393
$baseTmpPath,
9494
$basePath,
9595
$allowedExtensions,
96-
$allowedMimeTypes
96+
$allowedMimeTypes = []
9797
) {
9898
$this->coreFileStorageDatabase = $coreFileStorageDatabase;
9999
$this->mediaDirectory = $filesystem->getDirectoryWrite(\Magento\Framework\App\Filesystem\DirectoryList::MEDIA);

0 commit comments

Comments
 (0)