We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e1ef92 commit 3439f73Copy full SHA for 3439f73
app/code/Magento/Ui/Component/Form/Element/DataType/Media/Image.php
@@ -65,7 +65,7 @@ public function prepare()
65
{
66
// dynamically set max file size based on php ini config if not present in XML
67
$maxFileSize = min(array_filter([
68
- $this->getConfiguration()['maxFileSize'] ?? null,
+ $this->getConfiguration()['maxFileSize'] ?? 0,
69
$this->fileSize->getMaxFileSize()
70
]));
71
0 commit comments