You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if you would be open to suggestions. Trying to get this working w/ v3 of Smarty.
In the following file: "HTML/QuickForm/Renderer/ArraySmarty.php" on line 319 there is a
This is the function: private function _tplFetch($tplSource) { if (!function_exists('smarty_function_eval')) { return ($this->_tpl->fetch("eval:$tplSource")); } return smarty_function_eval(array('var' => $tplSource), $this->_tpl); }
This could work for making it v3 compliant:
` private function _tplFetch($tplSource)
{
return ($this->_tpl->fetch("eval:$tplSource"));
}
I mean, in principle I'm open to pull requests, but I have to say I never used Smarty myself (I only know it by name), so I'm not really qualified to review this I think.
What exactly is the problem you're trying to fix? Because from the code you posted it looks like you only removed the function_exists check.
I wonder if you would be open to suggestions. Trying to get this working w/ v3 of Smarty.
In the following file: "HTML/QuickForm/Renderer/ArraySmarty.php" on line 319 there is a
This is the function:
private function _tplFetch($tplSource) { if (!function_exists('smarty_function_eval')) { return ($this->_tpl->fetch("eval:$tplSource")); } return smarty_function_eval(array('var' => $tplSource), $this->_tpl); }
This could work for making it v3 compliant:
` private function _tplFetch($tplSource)
{
return ($this->_tpl->fetch("eval:$tplSource"));
}
`
(source: https://www.smarty.net/forums/viewtopic.php?p=84745)
The text was updated successfully, but these errors were encountered: