diff --git a/tournament/tournament.php b/tournament/tournament.php index 5a9c7ea..6ae77d4 100644 --- a/tournament/tournament.php +++ b/tournament/tournament.php @@ -100,7 +100,7 @@ if (isset($tourneyResults)) { echo "

$notes

"; } - if ($_SESSION["privileges"] == 1) { + if (isset($_SESSION["privileges"]) && $_SESSION["privileges"] == 1) { echo "

Edit

"; } echo "";