mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14: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,
|
||||
$this->_plugins['insert'][$name][1],
|
||||
$this->_plugins['insert'][$name][2],
|
||||
false);
|
||||
!empty($args['script']) ? true : false);
|
||||
}
|
||||
return $this->_smarty_md5."{insert_cache $arg_string}".$this->_smarty_md5;
|
||||
} else {
|
||||
|
@@ -1282,7 +1282,7 @@ function _run_insert_handler($args)
|
||||
$name,
|
||||
$this->_plugins['insert'][$name][1],
|
||||
$this->_plugins['insert'][$name][2],
|
||||
false);
|
||||
!empty($args['script']) ? true : false);
|
||||
}
|
||||
return $this->_smarty_md5."{insert_cache $arg_string}".$this->_smarty_md5;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user