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 fa22418 commit f353926Copy full SHA for f353926
lib/internal/Magento/Framework/Data/Form/Element/Label.php
@@ -37,12 +37,11 @@ public function __construct(
37
public function getElementHtml()
38
{
39
$html = $this->getBold() ? '<div class="control-value special">' : '<div class="control-value">';
40
- if (is_array($this->getValue())) {
41
- $html .= '</div>';
42
- } else {
43
- $html .= $this->getEscapedValue() . '</div>';
+ if (!is_array($this->getValue())) {
+ $html .= $this->getEscapedValue();
44
}
45
+ $html .= '</div>';
46
$html .= $this->getAfterElementHtml();
47
48
return $html;
0 commit comments