Skip to content

Commit b05da3c

Browse files
committed
Convert sort order in HTML hint to 0
1 parent e5d277f commit b05da3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Observer/AddBlockHints.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function execute(Observer $observer): void
3232
if ($this->isDeveloperMode()) {
3333
$html = "<!-- LOKI DEBUGGER: TEMPLATE: ".$block->getTemplateFile()." -->\n".$html;
3434
$html = "<!-- LOKI DEBUGGER: BLOCK: ".$block->getNameInLayout()." -->\n".$html;
35-
$html = "<!-- LOKI DEBUGGER: SORT ORDER: ".$block->getSortOrder()." -->\n".$html;
35+
$html = "<!-- LOKI DEBUGGER: SORT ORDER: ".(int)$block->getSortOrder()." -->\n".$html;
3636
}
3737

3838
$transport->setHtml($html);

0 commit comments

Comments
 (0)