Skip to content

Commit cdbad1e

Browse files
Update BlockPlugin.php
1 parent 086b179 commit cdbad1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/BlockPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct(
7070
*/
7171
public function afterToHtml(\Magento\Framework\View\Element\AbstractBlock $block, $html)
7272
{
73-
if (!$html || !$this->isEnabled($block, $html)) {
73+
if (!$this->isEnabled($block, (string)$html)) {
7474
return $html;
7575
}
7676

0 commit comments

Comments
 (0)