Changeset 3452 for trunk/include/picture_comment.inc.php
- Timestamp:
- Jun 24, 2009, 9:00:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_comment.inc.php
r3450 r3452 129 129 130 130 $query = ' 131 SELECT com.id,author,author_id,username,date,image_id,content,validated 131 SELECT com.id,author,author_id,'.$conf['user_fields']['username'].' AS username, 132 date,image_id,content,validated 132 133 FROM '.COMMENTS_TABLE.' AS com 133 134 LEFT JOIN '.USERS_TABLE.' AS u 134 ON u. id= author_id135 ON u.'.$conf['user_fields']['id'].' = author_id 135 136 WHERE image_id = '.$page['image_id']. 136 137 $validated_clause.'
Note: See TracChangeset
for help on using the changeset viewer.