aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_topic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-08-12 19:36:36 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-08-12 19:36:36 +0000
commit5b164b086b2aa6ba253aadf0a596d3ed20fbc7eb (patch)
tree796804bde04686eb3d5521a9b4f20462731e864c /phpBB/includes/mcp/mcp_topic.php
parent5c0b8186a0706a061cc11f9189987600af84db1c (diff)
downloadforums-5b164b086b2aa6ba253aadf0a596d3ed20fbc7eb.tar
forums-5b164b086b2aa6ba253aadf0a596d3ed20fbc7eb.tar.gz
forums-5b164b086b2aa6ba253aadf0a596d3ed20fbc7eb.tar.bz2
forums-5b164b086b2aa6ba253aadf0a596d3ed20fbc7eb.tar.xz
forums-5b164b086b2aa6ba253aadf0a596d3ed20fbc7eb.zip
make sure we do not have empty select fields
git-svn-id: file:///svn/phpbb/trunk@6286 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_topic.php')
-rw-r--r--phpBB/includes/mcp/mcp_topic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index a6cec131b2..691b92bd36 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -190,7 +190,7 @@ function mcp_topic_view($id, $mode, $action)
'UNAPPROVED_IMG' => $user->img('icon_topic_unapproved', 'POST_UNAPPROVED', false, true),
'S_MCP_ACTION' => "$url&amp;i=$id&amp;mode=$mode&amp;action=$action&amp;start=$start",
- 'S_FORUM_SELECT' => '<select name="to_forum_id">' . (($to_forum_id) ? make_forum_select($to_forum_id, false, false, true, true, true) : make_forum_select($topic_info['forum_id'], false, false, true, true, true)) . '</select>',
+ 'S_FORUM_SELECT' => ($to_forum_id) ? make_forum_select($to_forum_id, false, false, true, true, true) : make_forum_select($topic_info['forum_id'], false, false, true, true, true),
'S_CAN_SPLIT' => ($auth->acl_get('m_split', $topic_info['forum_id'])) ? true : false,
'S_CAN_MERGE' => ($auth->acl_get('m_merge', $topic_info['forum_id'])) ? true : false,
'S_CAN_DELETE' => ($auth->acl_get('m_delete', $topic_info['forum_id'])) ? true : false,