Skip to content

Commit 2c7ddd9

Browse files
committed
Blueprint: skips $_l $_g
1 parent 475848d commit 2c7ddd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Latte/Runtime/Blueprint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function printVars(array $vars): void
5858

5959
$res = '';
6060
foreach ($vars as $name => $value) {
61-
if (Latte\Helpers::startsWith($name, 'ʟ_')) {
61+
if (Latte\Helpers::startsWith($name, 'ʟ_') || $name === '_l' || $name === '_g') {
6262
continue;
6363
}
6464
$type = Php\Type::getType($value) ?: 'mixed';

0 commit comments

Comments
 (0)