- improvement impement workaround for HHVM PHP incompatibillity https://github.com/facebook/hhvm/issues/4797

This commit is contained in:
Uwe Tews
2015-07-26 18:04:40 +02:00
parent bb3dfc6fdf
commit f9d9ca0f67
10 changed files with 63 additions and 13 deletions
+3 -2
View File
@@ -210,10 +210,11 @@ class Smarty_Template_Cached
* Process cached template
*
* @param Smarty_Internal_Template $_template template object
* @param bool $update flag if called because cache update
*/
public function process(Smarty_Internal_Template $_template)
public function process(Smarty_Internal_Template $_template, $update = false)
{
if ($this->handler->process($_template, $this) === false) {
if ($this->handler->process($_template, $this, $update) === false) {
$this->valid = false;
}
if ($this->valid) {