diff options
author | Vic D'Elfant <vic@phpbb.com> | 2007-04-24 13:33:34 +0000 |
---|---|---|
committer | Vic D'Elfant <vic@phpbb.com> | 2007-04-24 13:33:34 +0000 |
commit | bb2dfe7f36094664a1122495a2de7b4f6950ae3b (patch) | |
tree | d7942b153b349e88b3522b0cb5d37450bd6c62b7 /phpBB/mcp.php | |
parent | c4cae36c912c56e770f56503e839cc8cd69bc578 (diff) | |
download | forums-bb2dfe7f36094664a1122495a2de7b4f6950ae3b.tar forums-bb2dfe7f36094664a1122495a2de7b4f6950ae3b.tar.gz forums-bb2dfe7f36094664a1122495a2de7b4f6950ae3b.tar.bz2 forums-bb2dfe7f36094664a1122495a2de7b4f6950ae3b.tar.xz forums-bb2dfe7f36094664a1122495a2de7b4f6950ae3b.zip |
- #10085
- Added notice about iso.txt to the coding guidelines
git-svn-id: file:///svn/phpbb/trunk@7394 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r-- | phpBB/mcp.php | 3 |
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 . " |