File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Widget/Block/Adminhtml/Widget
lib/internal/Magento/Framework/Data/Form/Element Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ protected function _addField($parameter)
166
166
167
167
if (is_array ($ data ['value ' ])) {
168
168
foreach ($ data ['value ' ] as &$ value ) {
169
- if (! is_array ($ value )) {
169
+ if (is_string ($ value )) {
170
170
$ value = html_entity_decode ($ value );
171
171
}
172
172
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function __construct(
37
37
public function getElementHtml ()
38
38
{
39
39
$ html = $ this ->getBold () ? '<div class="control-value special"> ' : '<div class="control-value"> ' ;
40
- if (! is_array ($ this ->getValue ())) {
40
+ if (is_string ($ this ->getValue ())) {
41
41
$ html .= $ this ->getEscapedValue ();
42
42
}
43
43
You can’t perform that action at this time.
0 commit comments