- quizmasters can open result analyzer on every game

This commit is contained in:
Wiesner András 2024-09-07 18:34:20 +02:00
parent fa74f65847
commit 55a68138b5

View File

@ -17,7 +17,7 @@ if ($game_id === "") {
require_once "gamemgr.php";
// no user without access may tamper with the results
if (!is_user_contributor_to_game($game_id, $user_data["nickname"])) {
if (!is_user_contributor_to_game($game_id, $user_data["nickname"]) && ($user_data["privilege"] !== PRIVILEGE_QUIZMASTER)) {
exit();
}