aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_warn.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2009-07-08 14:58:06 +0000
committerChris Smith <toonarmy@phpbb.com>2009-07-08 14:58:06 +0000
commitc875e2924969bc5d7a923ac7af3feb998136f5e4 (patch)
tree919a20ba9b95296e76b0a6ae554ebbf3c3d0917a /phpBB/includes/mcp/mcp_warn.php
parent61453bb2aba7c1acfedab0ea600c9d13ee751976 (diff)
downloadforums-c875e2924969bc5d7a923ac7af3feb998136f5e4.tar
forums-c875e2924969bc5d7a923ac7af3feb998136f5e4.tar.gz
forums-c875e2924969bc5d7a923ac7af3feb998136f5e4.tar.bz2
forums-c875e2924969bc5d7a923ac7af3feb998136f5e4.tar.xz
forums-c875e2924969bc5d7a923ac7af3feb998136f5e4.zip
some changelog changes and a small SQL correction
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9738 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_warn.php')
-rw-r--r--phpBB/includes/mcp/mcp_warn.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php
index 4ce67e5f9b..63e5b19155 100644
--- a/phpBB/includes/mcp/mcp_warn.php
+++ b/phpBB/includes/mcp/mcp_warn.php
@@ -204,7 +204,7 @@ class mcp_warn
$sql = 'SELECT u.*, p.*
FROM ' . POSTS_TABLE . ' p, ' . USERS_TABLE . " u
- WHERE post_id = $post_id
+ WHERE p.post_id = $post_id
AND u.user_id = p.poster_id";
$result = $db->sql_query($sql);
$user_row = $db->sql_fetchrow($result);