diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-13 15:40:51 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-13 15:40:51 +0000 |
commit | 88edd41f5d178df2986fba8881aa5b10b3c31825 (patch) | |
tree | bdaec216414512615ce1875c0a5ff7e17feb6dc1 /phpBB/includes/functions.php | |
parent | 3720705e6b263f3036dbc05c258c52904416a807 (diff) | |
download | forums-88edd41f5d178df2986fba8881aa5b10b3c31825.tar forums-88edd41f5d178df2986fba8881aa5b10b3c31825.tar.gz forums-88edd41f5d178df2986fba8881aa5b10b3c31825.tar.bz2 forums-88edd41f5d178df2986fba8881aa5b10b3c31825.tar.xz forums-88edd41f5d178df2986fba8881aa5b10b3c31825.zip |
Fixed error in make_forum_select box generation output
git-svn-id: file:///svn/phpbb/trunk@2128 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 1ccb6a78b1..35af3e5de3 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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; } |