aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-09-21 20:11:45 +0000
committerplegall <plg@piwigo.org>2005-09-21 20:11:45 +0000
commit0069768362b7757834b72c4f4c7b60223b53ae0b (patch)
treec02dd92d3972a6da5af3d447e48e805c1988872c
parentd79d2496a69ae18e707717c276a9282f4694f298 (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
-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