mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 12:14:12 +02:00
- improvement impement workaround for HHVM PHP incompatibillity https://github.com/facebook/hhvm/issues/4797
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user