diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2013-08-31 18:38:58 +0000 |
---|---|---|
committer | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2013-08-31 18:38:58 +0000 |
commit | b6156a9a8b59988cf050f2bf2524ccb5bbbccc49 (patch) | |
tree | 58b8cb33fc45a2bad241cdfa5f000cdef3cacbf9 | |
parent | ca41dbdee7f129ad43e37cafcb7d81c9a0715d33 (diff) | |
download | dokuwiki-b6156a9a8b59988cf050f2bf2524ccb5bbbccc49.tar.gz dokuwiki-b6156a9a8b59988cf050f2bf2524ccb5bbbccc49.tar.bz2 dokuwiki-b6156a9a8b59988cf050f2bf2524ccb5bbbccc49.zip |
remove previous assigned variables before rendering next template
-rwxr-xr-x | update.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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'); } |