Skip to content

Not all code compatible with Smarty v3 #18

@strafford

Description

@strafford

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions