From 809595becffefccfb2da8ffc21bf243a32ada664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 26 Nov 2012 19:12:53 +0100 Subject: [PATCH] // small fix some $ was missing :] --- classes/Tools.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/Tools.php b/classes/Tools.php index a3e8f1c10..563dee308 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -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); } /**