diff --git a/admin/cheat.php b/admin/cheat.php index 8bbbef1..a9b359e 100644 --- a/admin/cheat.php +++ b/admin/cheat.php @@ -16,21 +16,21 @@ Util::head('Admin Panel'); Util::navbar(); -// if post request +// if post request if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (isset($_POST["cheatStatus"])) { - $admin->setCheatStatus(); + $admin->setCheatStatus(); } if (isset($_POST["cheatMaint"])) { - $admin->setCheatMaint(); + $admin->setCheatMaint(); } if (isset($_POST["cheatVersion"])) { $ver = floatval($_POST['version']); - $admin->setCheatVersion($ver); + $admin->setCheatVersion($ver); } header("location: cheat.php"); @@ -92,29 +92,29 @@