- quizmasters can open result analyzer on every game
This commit is contained in:
parent
fa74f65847
commit
55a68138b5
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user