// small fix some $ was missing :]

This commit is contained in:
Rémi Gaillard committed 2012-11-26 19:12:53 +01:00
1 parent 3f90d9edbc
commit cd4c7b28c3
1 file changed
+3 -3
+3 -3
View File
@@ -2044,10 +2044,10 @@ FileETag INode MTime Size
if (is_null($smarty)) if (is_null($smarty))
$smarty = Context::getContext()->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(); return $smarty->clearAllCache();
else
return $smarty->clearCache($template, $cache_id, $compile_id); return $smarty->clearCache($template, $cache_id, $compile_id);
} }
/** /**