This commit is contained in:
Visman 2023-11-22 00:37:45 +07:00
parent f53b6965dc
commit 6917fc8e53

View file

@ -78,7 +78,7 @@ class ActionT extends Method
*/
// упрощенный запрос для больших форумов, дополнительная обработка ниже
$query = 'SELECT DISTINCT t.id, t.last_post
FROM forum_topics AS t
FROM ::topics AS t
INNER JOIN forum_posts AS p ON t.id=p.topic_id
WHERE t.forum_id IN (?ai:forums) AND t.moved_to=0 AND p.poster_id=?i:uid';