From 4e3deb45ee2d2f092e488e9392ba59c8a525aa99 Mon Sep 17 00:00:00 2001 From: gnieark Date: Wed, 9 Dec 2015 00:00:05 +0100 Subject: [PATCH] fix var currentarena --- html/index.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/html/index.php b/html/index.php index 6931987..b0d00fc 100644 --- a/html/index.php +++ b/html/index.php @@ -137,6 +137,9 @@ if(isset($_GET['arena'])){ } +if(!isset($currentArena)){ + $currentArena=""; +} //form submitting if (isset($_POST['xd_check'])){ @@ -153,10 +156,6 @@ if (isset($_POST['xd_check'])){ } } -if(!isset($currentArena)){ - $currentArena=""; -} - ?>