1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-08 08:35:31 +02:00

Fixed empty forum in styles admin bug (#515122), fix suggested by SirSir

git-svn-id: file:///svn/phpbb/trunk@2069 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2002-02-09 15:48:13 +00:00
parent 44562cfc44
commit 9762adacb6

View File

@ -517,6 +517,7 @@ switch( $mode )
$selected_names = $db->sql_fetchrow($result); $selected_names = $db->sql_fetchrow($result);
reset($selected_values)
//$selected = array_merge($selected_values, $selected_names); //$selected = array_merge($selected_values, $selected_names);
if(count($selected_values)) if(count($selected_values))
{ {
@ -526,6 +527,7 @@ switch( $mode )
} }
} }
reset($selected_names)
if($selected_names) if($selected_names)
{ {
while(list($key, $val) = each($selected_names)) while(list($key, $val) = each($selected_names))