[ticket/9147] "Change topic type"-option "Normal" always selected.

PHPBB3-9147
This commit is contained in:
Joas Schilling 2010-05-28 14:25:56 +02:00
parent 6d7e30ae99
commit 801a44b3f0

View file

@ -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