mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
fixed problem with insert tags when loading function from script attribute
and caching enabled (Monte)
This commit is contained in:
@@ -1282,7 +1282,7 @@ function _run_insert_handler($args)
|
|||||||
$name,
|
$name,
|
||||||
$this->_plugins['insert'][$name][1],
|
$this->_plugins['insert'][$name][1],
|
||||||
$this->_plugins['insert'][$name][2],
|
$this->_plugins['insert'][$name][2],
|
||||||
false);
|
!empty($args['script']) ? true : false);
|
||||||
}
|
}
|
||||||
return $this->_smarty_md5."{insert_cache $arg_string}".$this->_smarty_md5;
|
return $this->_smarty_md5."{insert_cache $arg_string}".$this->_smarty_md5;
|
||||||
} else {
|
} else {
|
||||||
|
@@ -1282,7 +1282,7 @@ function _run_insert_handler($args)
|
|||||||
$name,
|
$name,
|
||||||
$this->_plugins['insert'][$name][1],
|
$this->_plugins['insert'][$name][1],
|
||||||
$this->_plugins['insert'][$name][2],
|
$this->_plugins['insert'][$name][2],
|
||||||
false);
|
!empty($args['script']) ? true : false);
|
||||||
}
|
}
|
||||||
return $this->_smarty_md5."{insert_cache $arg_string}".$this->_smarty_md5;
|
return $this->_smarty_md5."{insert_cache $arg_string}".$this->_smarty_md5;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user