aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-06 15:31:39 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-06 15:31:39 +0000
commit6205be1e746dd51dface756fbeb8b7fc702e1d80 (patch)
tree5f6fc8a6fa8bc8f13d5511a3f8ac4bb148d60b5e /phpBB/includes/mcp/mcp_main.php
parent1e74ea85c5eebf9de7d29b1816ed5f8d9a02d638 (diff)
downloadforums-6205be1e746dd51dface756fbeb8b7fc702e1d80.tar
forums-6205be1e746dd51dface756fbeb8b7fc702e1d80.tar.gz
forums-6205be1e746dd51dface756fbeb8b7fc702e1d80.tar.bz2
forums-6205be1e746dd51dface756fbeb8b7fc702e1d80.tar.xz
forums-6205be1e746dd51dface756fbeb8b7fc702e1d80.zip
#9828, #10545, #10541, #10533, #10529, #10527, #10521, #10503, #10481
- more label fixes - simpler approach to get input cursor text git-svn-id: file:///svn/phpbb/trunk@7485 89ea8834-ac86-4346-8a33-228a782c2dd0
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 ced9f83ce9..7d16664a77 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -598,7 +598,7 @@ function mcp_move_topic($topic_ids)
$db->sql_transaction('begin');
- $sql = 'SELECT SUM(topic_replies + 1) as topic_posts
+ $sql = 'SELECT SUM(t.topic_replies + 1) as topic_posts
FROM ' . TOPICS_TABLE . ' t
WHERE ' . $db->sql_in_set('t.topic_id', $topic_ids);
$result = $db->sql_query($sql);