summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2013-08-31 18:38:58 +0000
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2013-08-31 18:38:58 +0000
commitb6156a9a8b59988cf050f2bf2524ccb5bbbccc49 (patch)
tree58b8cb33fc45a2bad241cdfa5f000cdef3cacbf9
parentca41dbdee7f129ad43e37cafcb7d81c9a0715d33 (diff)
downloaddokuwiki-b6156a9a8b59988cf050f2bf2524ccb5bbbccc49.tar.gz
dokuwiki-b6156a9a8b59988cf050f2bf2524ccb5bbbccc49.tar.bz2
dokuwiki-b6156a9a8b59988cf050f2bf2524ccb5bbbccc49.zip
remove previous assigned variables before rendering next template
-rwxr-xr-xupdate.php1
1 files changed, 1 insertions, 0 deletions
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');
}