From 3356b1342c07f4ac1d886c445e9100bd3a61b35a Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 23 Oct 2023 14:13:54 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Renamed=20variables=20in=20banne?= =?UTF-8?q?d=20panel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/bans.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/admin/bans.php b/src/admin/bans.php index b9a993f..cc5c809 100644 --- a/src/admin/bans.php +++ b/src/admin/bans.php @@ -21,11 +21,11 @@ // if post request if (Util::securevar($_SERVER["REQUEST_METHOD"]) === "POST") { - if (isset($_POST["u"])) { - $user = Util::securevar($_POST["u"]); + if (isset($_POST["user"])) { + $user = Util::securevar($_POST["user"]); } - if (isset($_POST["r"])) { - $reason = Util::securevar($_POST["r"]); + if (isset($_POST["reasoon"])) { + $reason = Util::securevar($_POST["reason"]); } if (isset($user)) { @@ -58,7 +58,7 @@
" method="post">
-


- +