mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 13:21:36 +01:00
fixed bug that occurred when using the same not-cacheable plugin in multiple includes
This commit is contained in:
@@ -38,7 +38,7 @@ function smarty_core_load_plugins($params, &$smarty)
|
||||
$_plugin[1] = $_tpl_file;
|
||||
$_plugin[2] = $_tpl_line;
|
||||
$_plugin[3] = true;
|
||||
$_plugin[4] = true; /* cacheable */
|
||||
if (!isset($_plugin[4])) $_plugin[4] = true; /* cacheable */
|
||||
}
|
||||
}
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user