aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_perm.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/cat_perm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/cat_perm.php b/admin/cat_perm.php
index 092d6792b..f0c961103 100644
--- a/admin/cat_perm.php
+++ b/admin/cat_perm.php
@@ -272,7 +272,7 @@ $query = '
SELECT '.$conf['user_fields']['id'].' AS id,
'.$conf['user_fields']['username'].' AS username
FROM '.USERS_TABLE.'
- WHERE id != '.$conf['guest_id'].'
+ WHERE '.$conf['user_fields']['id'].' != '.$conf['guest_id'].'
;';
$result = pwg_query($query);
while($row = mysql_fetch_array($result))