aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-23 16:36:39 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-23 16:36:39 +0200
commite5e45f860b798c955f1817001f07aabcbccbabcf (patch)
treead24053bcae50549245054ac8b75e4965a810d3c /phpBB/includes/mcp/mcp_main.php
parent752c73193e04f7eb22b3b90ad746a6b277e59272 (diff)
downloadforums-e5e45f860b798c955f1817001f07aabcbccbabcf.tar
forums-e5e45f860b798c955f1817001f07aabcbccbabcf.tar.gz
forums-e5e45f860b798c955f1817001f07aabcbccbabcf.tar.bz2
forums-e5e45f860b798c955f1817001f07aabcbccbabcf.tar.xz
forums-e5e45f860b798c955f1817001f07aabcbccbabcf.zip
[ticket/12966] Sort by post_time and post_id where applicable
This change was not applied to the search as this would require a larger rewrite of the search methods. PHPBB3-12966
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r--phpBB/includes/mcp/mcp_main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index 92000c6ceb..f03bc034e4 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -1265,7 +1265,7 @@ function mcp_fork_topic($topic_ids)
$sql = 'SELECT *
FROM ' . POSTS_TABLE . "
WHERE topic_id = $topic_id
- ORDER BY post_time ASC";
+ ORDER BY post_time ASC, post_id ASC";
$result = $db->sql_query($sql);
$post_rows = array();