We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following example raises notice about undefined variable $var:
$var
// view.latte {extends './layout.latte'} {var $var = 'ok'} // layout.latte {$var} // undefined variable
but this works:
// view.latte {extends './layout.latte'} {var $var = 'ok'} {block #test} // layout.latte {$var} {include #test}
This is very confusing behaviour. Is it possible to fix it?
The text was updated successfully, but these errors were encountered:
BlockMacros: fix when child template has no block [fixes nette#80]
d8bb8c0
e563c14
Merge pull request #81 from matej21/fix/extend_no_block
1dccc2e
BlockMacros: fixed child template without block [fixes #80]
af77a58
d7fc978
8e49227
No branches or pull requests
Following example raises notice about undefined variable
$var
:but this works:
This is very confusing behaviour. Is it possible to fix it?
The text was updated successfully, but these errors were encountered: