aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/cat_perm.php2
-rw-r--r--doc/ChangeLog5
2 files changed, 6 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))
diff --git a/doc/ChangeLog b/doc/ChangeLog
index d32a5ae36..e9610c3b0 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-21 Pierrick LE GALL
+
+ * bug 150 fixed: in category permissions management, wrong column
+ name when using an external users table.
+
2005-09-20 Pierrick LE GALL
* update: upgrade from 1.4.0 or 1.4.1. Upgrade from 1.3.x is not