From: Valerie Liu Date: Thu, 25 Jul 2024 12:24:50 +0000 (+0800) Subject: Merge pull request #50 from TehPeGaSuS/patch-2 X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/commitdiff_plain/4d0fa6e7cb8f34e2e87787fb30a77d5f14ac8500?hp=10cf1479414ae9691032f796f578ca5466228d8c Merge pull request #50 from TehPeGaSuS/patch-2 Fix fetching of Patreon image/logo --- diff --git a/users/index.php b/users/index.php index 4512c1b..40c8130 100644 --- a/users/index.php +++ b/users/index.php @@ -14,7 +14,7 @@ if (!empty($_GET)) $_POST['servicesonly'] = $_GET['servicesonly']; } -if (!empty($_POST)) +if (!empty($_POST) && current_user_can(PERMISSION_BAN_USERS)) { require_once "../inc/connection.php"; do_log($_POST);