This commit is contained in:
Wiesner András 2024-09-26 17:16:54 +02:00
parent 495594da6c
commit 812f441c3b

View File

@ -539,7 +539,7 @@ function generate_report_by_groups(ReqHandler &$rh, array $params): string
$game = $gameMgr->getGame($gameid);
// verify game and access
if (($game === null) || (!$game->isUserContributorOrOwner($user->getNickname()) || $user->hasQuizmasterPrivilege())) {
if (($game === null) || (!$game->isUserContributorOrOwner($user->getNickname()) || !$user->hasQuizmasterPrivilege())) {
return "FAIL";
}