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 8d90d12 commit f20b05bCopy full SHA for f20b05b
app/code/Magento/Widget/Controller/Adminhtml/Widget/Instance/Validate.php
@@ -19,6 +19,9 @@ public function execute()
19
$response->setError(false);
20
$widgetInstance = $this->_initWidgetInstance();
21
$result = $widgetInstance->validate();
22
+ if ($result instanceof \Magento\Framework\Phrase) {
23
+ $result = (string) $result;
24
+ }
25
if ($result !== true && is_string($result)) {
26
$this->messageManager->addError($result);
27
$this->_view->getLayout()->initMessages();
0 commit comments