In-line attachments now the correct way round.

This commit is contained in:
Ice
2008-08-10 22:06:41 +00:00
parent 8b00ea01e6
commit 4ed967741a

View File

@@ -258,7 +258,8 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
$sql2 = 'SELECT * $sql2 = 'SELECT *
FROM ' . ATTACHMENTS_TABLE . ' FROM ' . ATTACHMENTS_TABLE . '
WHERE `post_msg_id` = '. $row['post_id'] .' WHERE `post_msg_id` = '. $row['post_id'] .'
AND in_message = 0'; AND in_message = 0
ORDER BY filetime DESC';
$result2 = $db->sql_query($sql2); $result2 = $db->sql_query($sql2);