diff options
author | plegall <plg@piwigo.org> | 2005-09-21 20:11:45 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-09-21 20:11:45 +0000 |
commit | 0069768362b7757834b72c4f4c7b60223b53ae0b (patch) | |
tree | c02dd92d3972a6da5af3d447e48e805c1988872c /admin/cat_perm.php | |
parent | d79d2496a69ae18e707717c276a9282f4694f298 (diff) |
- 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
Diffstat (limited to 'admin/cat_perm.php')
-rw-r--r-- | admin/cat_perm.php | 2 |
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)) |