1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Update AdminReportController

This commit is contained in:
Daniel Supernault 2021-12-29 00:15:01 -07:00
parent 30c1de9796
commit b37c805172
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -500,7 +500,7 @@ trait AdminReportController
return $account;
})
->filter(function($res) {
return isset($res['id']);
return $res && isset($res['id']);
})
->values();
}