Prevent warnings on undefined Smarty template variables

This commit is contained in:
Hypolite Petovan 2022-02-18 22:44:11 -05:00
parent 26c86e25c9
commit 4fe2257d8e
1 changed files with 2 additions and 0 deletions

View File

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