Changeset 3452 for trunk/admin
- Timestamp:
- Jun 24, 2009, 9:00:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/comments.php
r3450 r3452 135 135 136 136 $query = ' 137 SELECT c.id, c.image_id, c.date, c.author, u.username, c.content, i.path, i.tn_ext 137 SELECT c.id, c.image_id, c.date, c.author, '. 138 $conf['user_fields']['username'].' AS username, c.content, i.path, i.tn_ext 138 139 FROM '.COMMENTS_TABLE.' AS c 139 140 INNER JOIN '.IMAGES_TABLE.' AS i 140 141 ON i.id = c.image_id 141 142 LEFT JOIN '.USERS_TABLE.' AS u 142 ON u. id= c.author_id143 ON u.'.$conf['user_fields']['id'].' = c.author_id 143 144 WHERE validated = \'false\' 144 145 ORDER BY c.date DESC
Note: See TracChangeset
for help on using the changeset viewer.