From 4ed967741acbd39882754705712e7b1b6b2808c5 Mon Sep 17 00:00:00 2001 From: Ice Date: Sun, 10 Aug 2008 22:06:41 +0000 Subject: [PATCH] In-line attachments now the correct way round. --- root/portal/includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/portal/includes/functions.php b/root/portal/includes/functions.php index 4168496c..d120e396 100644 --- a/root/portal/includes/functions.php +++ b/root/portal/includes/functions.php @@ -258,7 +258,8 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le $sql2 = 'SELECT * FROM ' . ATTACHMENTS_TABLE . ' WHERE `post_msg_id` = '. $row['post_id'] .' - AND in_message = 0'; + AND in_message = 0 + ORDER BY filetime DESC'; $result2 = $db->sql_query($sql2);