diff options
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index eeb6444ceb..780e43e09b 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1479,7 +1479,7 @@ if (sizeof($attach_list))  			FROM ' . ATTACHMENTS_TABLE . '  			WHERE ' . $db->sql_in_set('post_msg_id', $attach_list) . '  				AND in_message = 0 -			ORDER BY filetime DESC, post_msg_id ASC'; +			ORDER BY attach_id DESC, post_msg_id ASC';  		$result = $db->sql_query($sql);  		while ($row = $db->sql_fetchrow($result))  | 
