aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-21 18:15:53 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-21 18:15:53 +0000
commitab9ec8064acb25d09d6d0edb93ecbe3b59541010 (patch)
tree3ffb1cd5767a69f850daba6277f5cf93b91f1d9d /phpBB/posting.php
parent5be570b1f06f342a7f217679d102cdb7724905cf (diff)
downloadforums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.tar
forums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.tar.gz
forums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.tar.bz2
forums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.tar.xz
forums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.zip
- fixing a bunch of bugs
- moved the install trigger error to sessions and also disabled it for those having DEBUG_EXTRA enabled. i hope not having introduced too many new bugs. git-svn-id: file:///svn/phpbb/trunk@6628 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 7b2695cefa..654db73a61 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -370,7 +370,7 @@ if ($post_data['post_attachment'] && !$submit && !$refresh && !$preview && $mode
WHERE post_msg_id = $post_id
AND in_message = 0
AND is_orphan = 0
- ORDER BY filetime " . ((!$config['display_order']) ? 'DESC' : 'ASC');
+ ORDER BY filetime DESC";
$result = $db->sql_query($sql);
$message_parser->attachment_data = array_merge($message_parser->attachment_data, $db->sql_fetchrowset($result));
$db->sql_freeresult($result);