From 83e12bdcd6889ccd4066db6b83c8c6d42a408bb3 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 26 Dec 2005 06:20:10 +0000 Subject: [PATCH] We wern't initializing the usage right... now we are --- template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.php b/template.php index c1052e3..a4199d2 100644 --- a/template.php +++ b/template.php @@ -151,7 +151,7 @@ class Template while ($template = $this->registry->modules[ISSO_DB_LAYER]->fetch_array($templates)) { $this->cache[ $template[ $this->namecolumn ] ] = $this->_parse($template[ $this->datacolumn ]); - $this->usage["$name"] = 0; + $this->usage[ $template[ $this->namecolumn ] ] = 0; } } } -- 2.22.5