mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
made clear_cache() ignore compile_id when clearing cache_groups
This commit is contained in:
3
NEWS
3
NEWS
@@ -1,3 +1,6 @@
|
||||
- made clear_cache() ignore compile_id, when clearing cache-groups (this
|
||||
is when no $tpl_file is supplied) (messju)
|
||||
- made onmouseout XHTML-compliant in function.popup.php (messju)
|
||||
- applied local-var-naming-scheme to fetch() (messju)
|
||||
- renamed $localvars to $_localvars in cache-file-handling-functions,
|
||||
added _get_auto_id()-function (messju)
|
||||
|
@@ -911,6 +911,9 @@ class Smarty
|
||||
if (!isset($compile_id))
|
||||
$compile_id = $this->compile_id;
|
||||
|
||||
if (!isset($tpl_file))
|
||||
$compile_id = null;
|
||||
|
||||
$_auto_id = $this->_get_auto_id($cache_id, $compile_id);
|
||||
|
||||
if (!empty($this->cache_handler_func)) {
|
||||
|
Reference in New Issue
Block a user