Prevent warnings on undefined Smarty template variables
This commit is contained in:
@@ -58,5 +58,7 @@ class FriendicaSmarty extends Smarty
|
||||
|
||||
// Don't report errors so verbosely
|
||||
$this->error_reporting = E_ALL & ~E_NOTICE;
|
||||
|
||||
$this->muteUndefinedOrNullWarnings();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user