From 5bf063d2cc142e05ac23191d8d265f96c01aa0f2 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Sun, 20 Sep 2009 02:02:44 +0000 Subject: [PATCH] - fixed error in is_cached --- libs/Smarty.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 54d6deb7..acf94a7b 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -340,7 +340,7 @@ class Smarty extends Smarty_Internal_TemplateBase { public function is_cached($template, $cache_id = null, $compile_id = null) { if (!($template instanceof $this->template_class)) { - $template = $this->createTemplate ($template, $this, $cache_id, $compile_id); + $template = $this->createTemplate ($template, $cache_id, $compile_id, $this); } // return cache status of template return $template->isCached();