Skip to content

Commit 0c82102

Browse files
author
Yaroslav Onischenko
committed
Merge remote-tracking branch 'origin/MAGETWO-43292' into SEGFAULT_BANNERS_PR
2 parents cc11721 + 039604c commit 0c82102

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Widget/Block/Adminhtml/Widget

1 file changed

+3
-1
lines changed

app/code/Magento/Widget/Block/Adminhtml/Widget/Options.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@ protected function _addField($parameter)
162162
}
163163
}
164164

165-
$data['value'] = html_entity_decode($data['value']);
165+
if (is_scalar($data['value'])) {
166+
$data['value'] = html_entity_decode($data['value']);
167+
}
166168

167169
// prepare element dropdown values
168170
if ($values = $parameter->getValues()) {

0 commit comments

Comments
 (0)