aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-04-22 18:23:09 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-04-22 18:23:09 +0000
commitf878d0cf95268de0b3f4807a34c785d083aa8a6f (patch)
treeb17dc0d4044d30ad52cfcd13eafa8198562521c3
parent118516b982fc2679f0868875d3efdf9c8c9bb9ba (diff)
downloadforums-f878d0cf95268de0b3f4807a34c785d083aa8a6f.tar
forums-f878d0cf95268de0b3f4807a34c785d083aa8a6f.tar.gz
forums-f878d0cf95268de0b3f4807a34c785d083aa8a6f.tar.bz2
forums-f878d0cf95268de0b3f4807a34c785d083aa8a6f.tar.xz
forums-f878d0cf95268de0b3f4807a34c785d083aa8a6f.zip
- Bug 1260
git-svn-id: file:///svn/phpbb/trunk@5826 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/mcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index b0f39d819f..8c6c94fa3e 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -259,7 +259,7 @@ function get_post_data($post_ids, $acl_list = false)
$rowset = array();
$sql = 'SELECT p.*, u.*, t.*, f.*
- FROM (' . POSTS_TABLE . ' p, ' . USERS_TABLE . ' u, ' . TOPICS_TABLE . ' t)
+ FROM (' . USERS_TABLE . ' u, ' . TOPICS_TABLE . ' t, ' . POSTS_TABLE . ' p)
LEFT JOIN ' . FORUMS_TABLE . ' f ON (f.forum_id = p.forum_id)
WHERE p.post_id IN (' . implode(', ', $post_ids) . ')
AND u.user_id = p.poster_id