// small fix some $ was missing :]
This commit is contained in:
@@ -2044,10 +2044,10 @@ FileETag INode MTime Size
|
||||
if (is_null($smarty))
|
||||
$smarty = Context::getContext()->smarty;
|
||||
|
||||
if (!tpl && is_null(cache_id) && is_null(compile_id))
|
||||
if (!$tpl && $cache_id === null && $compile_id === null)
|
||||
return $smarty->clearAllCache();
|
||||
else
|
||||
return $smarty->clearCache($template, $cache_id, $compile_id);
|
||||
|
||||
return $smarty->clearCache($template, $cache_id, $compile_id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user