From 33517157959a492e92c448b802e62ae49ce11a7b Mon Sep 17 00:00:00 2001 From: Zankaria Date: Thu, 25 Apr 2024 18:50:32 +0200 Subject: [PATCH] Attempt fix broken unban on serveral pages --- inc/mod/pages.php | 2 +- templates/mod/ban_appeals.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' %} - +