diff --git a/result_analyzer.php b/result_analyzer.php index bca0a6a..dd36ddd 100644 --- a/result_analyzer.php +++ b/result_analyzer.php @@ -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(); }