Prevent warnings on undefined Smarty template variables
This commit is contained in:
parent
26c86e25c9
commit
4fe2257d8e
1 changed files with 2 additions and 0 deletions
|
@ -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