- ...
This commit is contained in:
parent
495594da6c
commit
812f441c3b
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user