aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-05-28 14:25:56 +0200
committerJoas Schilling <nickvergessen@gmx.de>2010-05-28 14:25:56 +0200
commit801a44b3f0701fc4ccf726c66a4aa0d44ca10f11 (patch)
tree056d59460947aec014418799eab268ec6a6a4a3a
parent6d7e30ae995fe0791c2bced0974b0445fa769ee9 (diff)
downloadforums-801a44b3f0701fc4ccf726c66a4aa0d44ca10f11.tar
forums-801a44b3f0701fc4ccf726c66a4aa0d44ca10f11.tar.gz
forums-801a44b3f0701fc4ccf726c66a4aa0d44ca10f11.tar.bz2
forums-801a44b3f0701fc4ccf726c66a4aa0d44ca10f11.tar.xz
forums-801a44b3f0701fc4ccf726c66a4aa0d44ca10f11.zip
[ticket/9147] "Change topic type"-option "Normal" always selected.
PHPBB3-9147
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 7242e7987b..f6f90575d4 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -348,7 +348,7 @@ function posting_gen_topic_types($forum_id, $cur_topic_type = POST_NORMAL)
{
$topic_type_array = array_merge(array(0 => array(
'VALUE' => POST_NORMAL,
- 'S_CHECKED' => ($topic_type == POST_NORMAL) ? ' checked="checked"' : '',
+ 'S_CHECKED' => ($cur_topic_type == POST_NORMAL) ? ' checked="checked"' : '',
'L_TOPIC_TYPE' => $user->lang['POST_NORMAL'])),
$topic_type_array