diff --git a/classes/submission/maps/Schema.php b/classes/submission/maps/Schema.php index 68c355314e9..2266d66228a 100644 --- a/classes/submission/maps/Schema.php +++ b/classes/submission/maps/Schema.php @@ -716,7 +716,7 @@ protected function getPropertyStages(Enumerable $stageAssignments, Submission $s } // Set own recommendations of the current user - if ($currentUser == $decision->getData('editorId')) { + if ($currentUser->getId() == $decision->getData('editorId')) { $stages[$decision->getData('stageId')]['currentUserRecommendation'] = $recommendation; } }