aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/user_perm.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/user_perm.php b/admin/user_perm.php
index 4c58725b5..2583306a1 100644
--- a/admin/user_perm.php
+++ b/admin/user_perm.php
@@ -36,6 +36,10 @@ if (isset($_POST['submituser']))
{
$userdata = getuserdata($_POST['username']);
}
+else if (isset($_GET['user_id']))
+{
+ $userdata = getuserdata(intval($_GET['user_id']));
+}
else if (isset($_POST['falsify'])
and isset($_POST['cat_true'])
and count($_POST['cat_true']) > 0)