Fix getInvolvedUsers not getting reporters
This commit is contained in:
parent
c89b35f2f1
commit
17c7f36b04
@ -276,7 +276,7 @@ function getInvolvedUsers($snapshot, $report)
|
||||
/** @var UserReport $reporter */
|
||||
foreach ($report->getReporters() as $reporterReason) {
|
||||
$reporter = $reporterReason->getUser();
|
||||
$involvedUsers[$reporter->getId()] = $reporter;
|
||||
$involvedUsers[$reporter->getUser()->getId()] = $reporter;
|
||||
}
|
||||
|
||||
return $involvedUsers;
|
||||
|
Loading…
Reference in New Issue
Block a user