From f7955513b24df1c14982cb0fcb3ba47d84d54f23 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Fri, 24 Oct 2014 00:09:45 +0200 Subject: [PATCH] Revert "- bugfix template function call handler must never be called as nocache code" This reverts commit db183d1aa4908a99814acf6e2fbdaa8d064b5e2a. --- change_log.txt | 1 - libs/sysplugins/smarty_internal_compile_call.php | 1 - 2 files changed, 2 deletions(-) diff --git a/change_log.txt b/change_log.txt index 0ee15035..92bd438b 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,6 +1,5 @@ ===== 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 template function call handler must never be called as nocache code ===== 3.1.21 ===== (18.10.2014) 18.10.2014 diff --git a/libs/sysplugins/smarty_internal_compile_call.php b/libs/sysplugins/smarty_internal_compile_call.php index 528f3f06..bfbd1f54 100644 --- a/libs/sysplugins/smarty_internal_compile_call.php +++ b/libs/sysplugins/smarty_internal_compile_call.php @@ -107,7 +107,6 @@ class Smarty_Internal_Compile_Call extends Smarty_Internal_CompileBase $_params = 'array(' . implode(",", $_paramsArray) . ')'; $_hash = str_replace('-', '_', $compiler->template->properties['nocache_hash']); - $compiler->suppressNocacheProcessing = true; // was there an assign attribute if (isset($_assign)) { if ($compiler->template->caching) {