Skip to content

Commit beee1a0

Browse files
committed
Merge remote-tracking branch 'gl/AC-1379_v1' into GL_Mainline_PR_06012022
2 parents f51a83f + 4e52b2d commit beee1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Variable/Model/Variable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function getValue($type = null)
129129
$value = $this->getData('plain_value');
130130
//escape html if type is html, but html value is not defined
131131
if ($type == self::TYPE_HTML) {
132-
$value = nl2br($this->_escaper->escapeHtml($value));
132+
$value = nl2br((string)$this->_escaper->escapeHtml($value));
133133
}
134134
return $value;
135135
}

0 commit comments

Comments
 (0)