1
1
Fork 0

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

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();
}
}