diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 5b1ceb06..31f76133 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -858,7 +858,7 @@ function mod_page_ip($ip) { if (filter_var($ip, FILTER_VALIDATE_IP) === false) error("Invalid IP address."); - if (isset($_POST['ban_id'], $_POST['unban_mask'])) { + if (isset($_POST['ban_id'], $_POST['unban'])) { if (!hasPermission($config['mod']['unban'])) error($config['error']['noaccess']); diff --git a/templates/mod/ban_appeals.html b/templates/mod/ban_appeals.html index 08995e10..31d0f879 100644 --- a/templates/mod/ban_appeals.html +++ b/templates/mod/ban_appeals.html @@ -95,7 +95,7 @@ {% trans 'Action' %} - +