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
Hi,
if you don't set options for element it will fail as it passes null to $compiler->subcompile()
in Lib\Twig\Node\Element.php line: 65
$options = $this->getNode('options'); if ($data!== null) { $compiler->raw(','); $compiler->subcompile($options); }
I think it should check for $options not $data.
Thanks.
The text was updated successfully, but these errors were encountered:
Good point 👍 , could you make a PR, don't have time to test and fix it right now
Sorry, something went wrong.
Has this been already fixed?
https://github.com/WyriHaximus/TwigView/blob/5da1061417bfbcf00482cf5a13498f05fcfd2419/src/Lib/Twig/Node/Element.php#L68-L72
No branches or pull requests
Hi,
if you don't set options for element it will fail as it passes null to $compiler->subcompile()
in Lib\Twig\Node\Element.php
line: 65
I think it should check for $options not $data.
Thanks.
The text was updated successfully, but these errors were encountered: