Fix getInvolvedUsers not getting reporters

This commit is contained in:
Keir Nellyer 2016-07-18 14:37:23 +01:00
parent c89b35f2f1
commit 17c7f36b04

View File

@ -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;