Changeset 3452 for trunk/comments.php
- Timestamp:
- Jun 24, 2009, 9:00:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/comments.php
r3450 r3452 102 102 { 103 103 $page['where_clauses'][] = 104 'u. username= \''.addslashes($_GET['author']).'\'104 'u.'.$conf['user_fields']['username'].' = \''.addslashes($_GET['author']).'\' 105 105 OR author = \''.addslashes($_GET['author']).'\''; 106 106 } … … 269 269 ON ic.image_id = com.image_id 270 270 LEFT JOIN '.USERS_TABLE.' As u 271 ON u. id= com.author_id271 ON u.'.$conf['user_fields']['id'].' = com.author_id 272 272 WHERE '.implode(' 273 273 AND ', $page['where_clauses']).' … … 301 301 , com.author 302 302 , com.author_id 303 , username303 , '.$conf['user_fields']['username'].' AS username 304 304 , com.date 305 305 , com.content … … 309 309 ON ic.image_id = com.image_id 310 310 LEFT JOIN '.USERS_TABLE.' AS u 311 ON u. id= com.author_id311 ON u.'.$conf['user_fields']['id'].' = com.author_id 312 312 WHERE '.implode(' 313 313 AND ', $page['where_clauses']).'
Note: See TracChangeset
for help on using the changeset viewer.