aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 1577c32de8..dc0b13c7b9 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -87,8 +87,7 @@ if ($post_id)
$topic_id = (int) $row['topic_id'];
$forum_id = (int) ($row['forum_id']) ? $row['forum_id'] : $forum_id;
}
-
-if ($topic_id && !$forum_id)
+else if ($topic_id)
{
$sql = 'SELECT forum_id
FROM ' . TOPICS_TABLE . "