From b6156a9a8b59988cf050f2bf2524ccb5bbbccc49 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 31 Aug 2013 18:38:58 +0000 Subject: remove previous assigned variables before rendering next template --- update.php | 1 + 1 file changed, 1 insertion(+) diff --git a/update.php b/update.php index 6ee269a..fbc5207 100755 --- a/update.php +++ b/update.php @@ -194,6 +194,7 @@ function _render($target, $file, $vars=null) { function _render_template($template, $vars=null) { global $smarty; + $smarty->clearAllAssign(); $smarty->assign($vars); return $smarty->fetch($template . '.tpl'); } -- cgit v1.2.3-1-g7c22