diff --git a/src/Latte/Macros/BlockMacros.php b/src/Latte/Macros/BlockMacros.php index 7f12ec2a6..af843d08e 100644 --- a/src/Latte/Macros/BlockMacros.php +++ b/src/Latte/Macros/BlockMacros.php @@ -47,7 +47,7 @@ public static function install(Latte\Compiler $compiler) $me->addMacro('define', [$me, 'macroBlock'], [$me, 'macroBlockEnd']); $me->addMacro('snippetArea', [$me, 'macroBlock'], [$me, 'macroBlockEnd']); $me->addMacro('ifset', [$me, 'macroIfset'], '}'); - $me->addMacro('elseifset', [$me, 'macroIfset'], '}'); + $me->addMacro('elseifset', [$me, 'macroIfset']); }