@@ -107,7 +107,7 @@ |
||
| 107 | 107 | FROM ' . POSTS_TABLE . ' p |
| 108 | 108 | WHERE p.topic_id = t.topic_id |
| 109 | 109 | AND p.post_text ' . $this->db->sql_like_expression('<r>' . $this->db->get_any_char() . '<IMG ' . $this->db->get_any_char()) . ' |
| 110 | - ORDER BY p.post_time ' . $sort .' |
|
| 110 | + ORDER BY p.post_time ' . $sort . ' |
|
| 111 | 111 | LIMIT 1 |
| 112 | 112 | ) AS post_id |
| 113 | 113 | FROM ' . TOPICS_TABLE . ' t |