]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Merge pull request #50 from TehPeGaSuS/patch-2
authorValerie Liu <redacted>
Thu, 25 Jul 2024 12:24:50 +0000 (20:24 +0800)
committerGitHub <redacted>
Thu, 25 Jul 2024 12:24:50 +0000 (20:24 +0800)
Fix fetching of Patreon image/logo

users/index.php

index 4512c1b6e18e6a456c160aec0011306fc3445f53..40c813057993c92c8c8099260a62fd3348c64bd7 100644 (file)
@@ -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);