Prevent warnings on undefined Smarty template variables
This commit is contained in:
parent
26c86e25c9
commit
4fe2257d8e
|
@ -58,5 +58,7 @@ class FriendicaSmarty extends Smarty
|
|||
|
||||
// Don't report errors so verbosely
|
||||
$this->error_reporting = E_ALL & ~E_NOTICE;
|
||||
|
||||
$this->muteUndefinedOrNullWarnings();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue