]> git.mxchange.org Git - friendica.git/blobdiff - src/Render/FriendicaSmarty.php
Merge pull request #11256 from MrPetovan/bug/notices
[friendica.git] / src / Render / FriendicaSmarty.php
index 5a1e7ed100810eebb2697214d762e16963aaa0b3..50dda5eba1f337fa5067073688deaeada37a1f55 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -58,5 +58,7 @@ class FriendicaSmarty extends Smarty
 
                // Don't report errors so verbosely
                $this->error_reporting = E_ALL & ~E_NOTICE;
+
+               $this->muteUndefinedOrNullWarnings();
        }
 }