mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
make smarty error reporting a bit less chatty
This commit is contained in:
parent
4b2de6fdf2
commit
215a7f139c
3 changed files with 4 additions and 3 deletions
|
@ -23,6 +23,7 @@ function replace_macros($s,$r) {
|
|||
if(gettype($s) === 'string') {
|
||||
$template = $s;
|
||||
$s = new FriendicaSmarty();
|
||||
$s->error_reporting = E_ALL & ~E_NOTICE;
|
||||
}
|
||||
foreach($r as $key=>$value) {
|
||||
if($key[0] === '$') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue