]> git.mxchange.org Git - friendica.git/blobdiff - src/Render/FriendicaSmartyEngine.php
Replace IHTTPResult for CurlResult usages
[friendica.git] / src / Render / FriendicaSmartyEngine.php
index 2c76ff0255f6cd00f893fd2c5c20ed95eee7f04d..8eafd7d94ac07d7719e22f9c7c1d55c8095ef3e7 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -83,6 +83,8 @@ final class FriendicaSmartyEngine extends TemplateEngine
                Hook::callAll('template_vars', $arr);
                $vars = $arr['vars'];
 
+               $this->smarty->clearAllAssign();
+
                foreach ($vars as $key => $value) {
                        if ($key[0] === '$') {
                                $key = substr($key, 1);