// small fix some $ was missing :]

This commit is contained in:
Rémi Gaillard
2012-11-26 19:12:53 +01:00
parent 7e0a1b28c4
commit 809595becf

View File

@@ -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);
}
/**