1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00: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();
}