Skip to content
New issue

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

Default compiler plugin handler error when have shorthand attribute #342

Closed
vuongminh-xx opened this issue Mar 16, 2017 · 1 comment
Closed

Comments

@vuongminh-xx
Copy link

vuongminh-xx commented Mar 16, 2017

Demo default compiler plugin with shorthand attribute:

{mycompiler test}

A problem in templatecompilerbase L667 when compiler making a args for compiler handler, it not check a type of element is array or not => php error exception when do merge.

vuongminh-xx pushed a commit to vuongminh-xx/smarty that referenced this issue Mar 16, 2017
Add checking type of `args` when making `new_args` for compiler.
@uwetews
Copy link
Contributor

uwetews commented May 27, 2017

This is also fixed in the master branch and will later be included in 3.1.32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants