diff --git a/root/portal/includes/functions.php b/root/portal/includes/functions.php index 8ae68f2a..07ca0b79 100644 --- a/root/portal/includes/functions.php +++ b/root/portal/includes/functions.php @@ -298,7 +298,7 @@ function phpbb_fetch_posts($forum_from, $number_of_posts, $text_length, $time, $ LEFT JOIN ' . POSTS_TABLE . ' as p ON - t.topic_first_post_id = p.post_id + t.topic_last_post_id = p.post_id WHERE ' . $topic_type . ' ' . $post_time . '