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 0c8221b commit 2491b51Copy full SHA for 2491b51
app/code/Magento/Cms/view/adminhtml/templates/browser/content/uploader.phtml
@@ -101,8 +101,8 @@ require([
101
maxFileSize: <?= (int) $block->getFileSizeService()->getMaxFileSize() ?> * 10
102
}, {
103
action: 'resize',
104
- maxWidth: <?= $block->getUploadImageMaxWidth() ?> ,
105
- maxHeight: <?= $block->getUploadImageMaxHeight() ?>
+ maxWidth: <?= (int) $block->getUploadImageMaxWidth() ?> ,
+ maxHeight: <?= (int) $block->getUploadImageMaxHeight() ?>
106
107
action: 'save'
108
}]
0 commit comments