- 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
This commit is contained in:
parent
d79d2496a6
commit
0069768362
2 changed files with 6 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue