aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-09 22:00:28 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-09 22:00:28 -0500
commitcf810fb775407d6e6e5aa62a072b141bdb61e3c9 (patch)
tree47bd112edd0ac7da7d10da957550fa8dc9fea5c2
parent3fa0ab70734a956d4e56667786c6669d44965d48 (diff)
downloadforums-cf810fb775407d6e6e5aa62a072b141bdb61e3c9.tar
forums-cf810fb775407d6e6e5aa62a072b141bdb61e3c9.tar.gz
forums-cf810fb775407d6e6e5aa62a072b141bdb61e3c9.tar.bz2
forums-cf810fb775407d6e6e5aa62a072b141bdb61e3c9.tar.xz
forums-cf810fb775407d6e6e5aa62a072b141bdb61e3c9.zip
[ticket/11140] Fix an error from an incorrect variable name
PHPBB3-11140
-rw-r--r--phpBB/includes/mcp/mcp_front.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_front.php b/phpBB/includes/mcp/mcp_front.php
index 13398e62bc..ba4b15895a 100644
--- a/phpBB/includes/mcp/mcp_front.php
+++ b/phpBB/includes/mcp/mcp_front.php
@@ -251,7 +251,7 @@ function mcp_front_view($id, $mode, $action)
'ORDER_BY' => 'p.message_time DESC',
);
- $sql_ary = $db->sql_build_query('SELECT', $sql_ary);
+ $sql = $db->sql_build_query('SELECT', $sql_ary);
$result = $db->sql_query_limit($sql, 5);
$pm_by_id = $pm_list = array();