From 0069768362b7757834b72c4f4c7b60223b53ae0b Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 21 Sep 2005 20:11:45 +0000 Subject: - bug 150 fixed: in category permissions management, wrong column name when using an external users table. git-svn-id: http://piwigo.org/svn/trunk@873 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_perm.php | 2 +- doc/ChangeLog | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3