diff --git a/admin.php b/admin.php index 2254c8f..98291b3 100644 --- a/admin.php +++ b/admin.php @@ -108,7 +108,7 @@ if (empty($_POST) === false) { } // Teleport Player - if (in_array($_POST['from'], ['all', 'only'])) { + if (isset($_POST['from']) && in_array($_POST['from'], ['all', 'only'])) { $from = $_POST['from']; if ($from === 'only') { if (empty($_POST['player_name']) || !user_character_exist($_POST['player_name'])) { @@ -160,13 +160,13 @@ echo "Last cached on: ". getClock($basic['cached'], true) .".
";