]> git.mxchange.org Git - friendica.git/commitdiff
Prevent warnings on undefined Smarty template variables
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 19 Feb 2022 03:44:11 +0000 (22:44 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 19 Feb 2022 03:44:11 +0000 (22:44 -0500)
src/Render/FriendicaSmarty.php

index 44a741d7c83f1fb6dd8363b59fa2aa70288bd45e..50dda5eba1f337fa5067073688deaeada37a1f55 100644 (file)
@@ -58,5 +58,7 @@ class FriendicaSmarty extends Smarty
 
                // Don't report errors so verbosely
                $this->error_reporting = E_ALL & ~E_NOTICE;
+
+               $this->muteUndefinedOrNullWarnings();
        }
 }