From 17c7f36b040c4802e4bde93c3aeb89e727cb34bb Mon Sep 17 00:00:00 2001 From: Keir Nellyer Date: Mon, 18 Jul 2016 14:37:23 +0100 Subject: [PATCH] Fix getInvolvedUsers not getting reporters --- Plugins/Mineplex.ReportSite/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.ReportSite/view.php b/Plugins/Mineplex.ReportSite/view.php index de0b42b6a..6b295e10b 100644 --- a/Plugins/Mineplex.ReportSite/view.php +++ b/Plugins/Mineplex.ReportSite/view.php @@ -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;