Skip to content

Commit

Permalink
Update BlockProcessor.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pointia authored Mar 7, 2024
1 parent 78595bb commit 4e861e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/BlockProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct(
*/
public function wrapBlock($html, $blockId, $name)
{
if (trim($html)) {
if (trim($html ?? '')) {
$html = '<!-- START_MSPDEV[' . $blockId . ']: ' . $name . ' -->' . $html
. '<!-- END_MSPDEV[' . $blockId . ']: ' . $name . ' -->';

Expand Down

0 comments on commit 4e861e5

Please sign in to comment.