From 812f441c3b8456f8d474e7249a270a5f17eb619f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiesner=20Andr=C3=A1s?= Date: Thu, 26 Sep 2024 17:16:54 +0200 Subject: [PATCH] - ... --- interface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.php b/interface.php index 1f85cac..b3062d5 100644 --- a/interface.php +++ b/interface.php @@ -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"; }