Revert "- bugfix template function call handler must never be called as nocache code"

This reverts commit db183d1aa4.
This commit is contained in:
Uwe Tews
2014-10-24 00:09:45 +02:00
parent db183d1aa4
commit f7955513b2
2 changed files with 0 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
===== 3.1.22-dev ===== (xx.xx.2014) ===== 3.1.22-dev ===== (xx.xx.2014)
- bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text - bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text
- bugfix template function call handler must never be called as nocache code
===== 3.1.21 ===== (18.10.2014) ===== 3.1.21 ===== (18.10.2014)
18.10.2014 18.10.2014

View File

@@ -107,7 +107,6 @@ class Smarty_Internal_Compile_Call extends Smarty_Internal_CompileBase
$_params = 'array(' . implode(",", $_paramsArray) . ')'; $_params = 'array(' . implode(",", $_paramsArray) . ')';
$_hash = str_replace('-', '_', $compiler->template->properties['nocache_hash']); $_hash = str_replace('-', '_', $compiler->template->properties['nocache_hash']);
$compiler->suppressNocacheProcessing = true;
// was there an assign attribute // was there an assign attribute
if (isset($_assign)) { if (isset($_assign)) {
if ($compiler->template->caching) { if ($compiler->template->caching) {