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

Plugin names starting with "php" will be recognised as {php} tag in Templates #147

Closed
NoXPhasma opened this issue Dec 30, 2015 · 1 comment

Comments

@NoXPhasma
Copy link

I've upgraded today from 3.1.21 to 3.1.29 and got error messages like this:
Uncaught --> Smarty Compiler: Syntax error in template "file:/var/www/dbpics/template/main.html" on line 36 "<img src="thumb/{phpthumb_hash src=$pics_sql[i].bild end=$end}" alt="thumb"></a></td>" missing closing tag '{/php}' <--

While it works fine in 3.1.21 to use function names starting with php, 3.1.29 (maybe earlier versions too) gives out that error. renaming the function to something which does not start with php fixes this. But I think this shouldn't ever happen.

@uwetews
Copy link
Contributor

uwetews commented Dec 30, 2015

The fix is now in the master branch and will later be included in 3.1.30

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