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

Wrong quotes are used when including a file with a variable path #102

Closed
Kauto opened this issue Nov 2, 2015 · 1 comment
Closed

Wrong quotes are used when including a file with a variable path #102

Kauto opened this issue Nov 2, 2015 · 1 comment

Comments

@Kauto
Copy link

Kauto commented Nov 2, 2015

In the current version 3.1.28-dev/76 I can't include a flexible file like this

{include file="includes/popup/options/popup_`$option`.tpl"}

because the following illegal code is produced:

$_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, 'file:includes/popup/options/popup_".((string)$_smarty_tpl->tpl_vars['option']->value).".tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);

You will notice that the quotes are wrong.

uwetews added a commit that referenced this issue Nov 2, 2015
@uwetews
Copy link
Contributor

uwetews commented Nov 2, 2015

It's now fixed

@uwetews uwetews closed this as completed Nov 2, 2015
uwetews added a commit that referenced this issue Nov 2, 2015
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