Details
-
Improvement
-
Resolution: Fixed
-
Medium
-
4.3.0, 4.4.0alpha2
-
None
Description
Currently the following code will work when template's don't compile:
{urlencode( '/' )}But it won't when it is turned on.
Patch:
Index: lib/eztemplate/classes/eztemplatephpoperator.php =================================================================== --- lib/eztemplate/classes/eztemplatephpoperator.php (revision 25306) +++ lib/eztemplate/classes/eztemplatephpoperator.php (working copy) @@ -81,7 +81,7 @@ 'parameters' => false, 'element-transformation' => true, 'transform-parameters' => true, - 'input-as-parameter' => 'always', + 'input-as-parameter' => true, 'element-transformation-func' => 'phpOperatorTransformation'); } return $hints;