]> git.mxchange.org Git - friendica.git/blobdiff - src/Render/FriendicaSmarty.php
Posts per author/server on the community pages (#13764)
[friendica.git] / src / Render / FriendicaSmarty.php
index 2ace5688a36fc22e1bf36225ab136da29859bdad..1df1ffe4a8a09d9d90e1ad104c58ded6c845777c 100644 (file)
@@ -53,6 +53,10 @@ class FriendicaSmarty extends Smarty
                $this->setConfigDir($work_dir . '/');
                $this->setCacheDir($work_dir . '/');
 
+               $this->registerPlugin('modifier', 'is_string', function ($value) {
+                       return is_string($value);
+               });
+
                /*
                 * Enable sub-directory splitting for reducing directory descriptor
                 * size. The default behavior is to put all compiled/cached files into