|
@@ -79,8 +79,7 @@ class ActionT extends Method
|
|
case 'topics':
|
|
case 'topics':
|
|
$query = 'SELECT t.id
|
|
$query = 'SELECT t.id
|
|
FROM ::topics AS t
|
|
FROM ::topics AS t
|
|
- INNER JOIN ::posts AS p ON t.first_post_id=p.id
|
|
|
|
- WHERE t.forum_id IN (?ai:forums) AND t.moved_to=0 AND p.poster_id=?i:uid
|
|
|
|
|
|
+ WHERE t.forum_id IN (?ai:forums) AND t.moved_to=0 AND t.poster_id=?i:uid
|
|
ORDER BY t.first_post_id DESC'; // t.last_post
|
|
ORDER BY t.first_post_id DESC'; // t.last_post
|
|
|
|
|
|
break;
|
|
break;
|