Skip to content

Commit d653d75

Browse files
Stanislav Idolovgelanivishal
authored andcommitted
Make constructor backward compatible
1 parent da49174 commit d653d75

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
@@ -95,7 +95,7 @@ public function __construct(
9595
$baseTmpPath,
9696
$basePath,
9797
$allowedExtensions,
98-
$allowedMimeTypes
98+
$allowedMimeTypes = []
9999
) {
100100
$this->coreFileStorageDatabase = $coreFileStorageDatabase;
101101
$this->mediaDirectory = $filesystem->getDirectoryWrite(\Magento\Framework\App\Filesystem\DirectoryList::MEDIA);

0 commit comments

Comments
 (0)