-
Notifications
You must be signed in to change notification settings - Fork 715
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
instanceof fails if checked against a variable #92
Comments
+1 |
I can confirm this bug. The fix will go into the master branch and version 3.1.28 in a few days. Possible fix: in lexer/smarty_internal_templateparser.y
add the second expression. Get with composer "smarty/smarty-lexer": "~3.1@dev" Because of other changes under work I can't commit it directly immediately . |
The fix is now available in the master branch and will be included in the upcoming 3.1.28 |
Cool, thanks! |
…-same-starttime-menus-ignore-rowno #5479: 開始時刻が同一の場合、メニューの並び順(行番号)が無視されてしまう
Consider the following code:
This worked like a charm up until Smarty 3.1.23, but fails in Smarty 3.1.24 and upwards with the following error message:
I am using the following code to render this template:
The following snippet does compile and produces the expected "Something's wrong":
The text was updated successfully, but these errors were encountered: