X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/4ee7eb56ec9413e399d85f1c0ead48d195630eab..refs/pull/8/head:/users/index.php diff --git a/users/index.php b/users/index.php index c8316ad..a520ae9 100644 --- a/users/index.php +++ b/users/index.php @@ -17,13 +17,12 @@ if (!empty($_GET)) if (!empty($_POST)) { do_log($_POST); - $bantype = $_POST['bantype']; + $bantype = (isset($_POST['bantype'])) ? $_POST['bantype'] : NULL; if (isset($_POST['userch'])) { foreach ($_POST["userch"] as $user) { $user = $name = base64_decode($user); - $bantype = (isset($_POST['bantype'])) ? $_POST['bantype'] : NULL; if (!$bantype) /* shouldn't happen? */ {