mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:38:53 +00:00
Fixed error in make_forum_select box generation output
git-svn-id: file:///svn/phpbb/trunk@2128 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3720705e6b
commit
88edd41f5d
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ function make_forum_select($box_name, $ignore_forum = false)
|
|||
message_die(GENERAL_ERROR, "Couldn't obtain forums information.", "", __LINE__, __FILE__, $sql);
|
||||
}
|
||||
|
||||
$forum_list = "";
|
||||
$forum_list = '';
|
||||
while( $row = $db->sql_fetchrow($result) )
|
||||
{
|
||||
if ( $is_auth_ary[$row['forum_id']]['auth_read'] && $ignore_forum != $row['forum_id'] )
|
||||
|
@ -203,7 +203,7 @@ function make_forum_select($box_name, $ignore_forum = false)
|
|||
}
|
||||
}
|
||||
|
||||
$forum_list .= ( $forum_list == "" ) ? '<option value="-1">-- ! No Forums ! --</option>' : '<select name="' . $box_name . '">' . $forum_list . '</select>';
|
||||
$forum_list = ( $forum_list == "" ) ? '<option value="-1">-- ! No Forums ! --</option>' : '<select name="' . $box_name . '">' . $forum_list . '</select>';
|
||||
|
||||
return $forum_list;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue