fixed bug that occurred when using the same not-cacheable plugin in multiple includes

This commit is contained in:
messju
2003-08-05 18:27:14 +00:00
parent ed1fd2f0f1
commit c08ab9bb8e
2 changed files with 6 additions and 6 deletions

View File

@@ -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;