diff --git a/webapp/src/Controller/Jury/ClarificationController.php b/webapp/src/Controller/Jury/ClarificationController.php index fdfbc18012..93d96ebec2 100644 --- a/webapp/src/Controller/Jury/ClarificationController.php +++ b/webapp/src/Controller/Jury/ClarificationController.php @@ -350,8 +350,7 @@ public function changeQueueAction(Request $request, int $clarId): Response public function checkIfClaimed(Request $request): Response { $clarid = $request->query->get('clarid'); - $currentUser = $this->getUser(); - $currentUserName = $currentUser->getUsername(); + $currentUserName = $this->getUser()->getUserIdentifier(); $queryBuilder = $this->em->createQueryBuilder() ->select('clar.jury_member')