mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 19:34:27 +02:00
- avoid possible notice on $smarty->cache->clear(...), $smarty->clear_cache(....)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
09/02/2010
|
||||
- avoid possible notice on $smarty->cache->clear(...), $smarty->clear_cache(....)
|
||||
|
||||
09/02/2010
|
||||
- added $smarty->_tag_stack for tracing block tag hierarchy
|
||||
|
||||
|
@@ -159,7 +159,7 @@ class Smarty_Internal_CacheResource_File {
|
||||
}
|
||||
}
|
||||
// check compile id
|
||||
if (isset($_compile_id) && $_parts[$_parts_count-2 - $_compile_id_offset] != $_compile_id) {
|
||||
if (isset($_compile_id) && (!isset($_parts[$_parts_count-2 - $_compile_id_offset]) || $_parts[$_parts_count-2 - $_compile_id_offset] != $_compile_id)) {
|
||||
continue;
|
||||
}
|
||||
// check cache id
|
||||
|
Reference in New Issue
Block a user