mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +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:
parent
44562cfc44
commit
9762adacb6
@ -517,6 +517,7 @@ switch( $mode )
|
||||
|
||||
$selected_names = $db->sql_fetchrow($result);
|
||||
|
||||
reset($selected_values)
|
||||
//$selected = array_merge($selected_values, $selected_names);
|
||||
if(count($selected_values))
|
||||
{
|
||||
@ -526,6 +527,7 @@ switch( $mode )
|
||||
}
|
||||
}
|
||||
|
||||
reset($selected_names)
|
||||
if($selected_names)
|
||||
{
|
||||
while(list($key, $val) = each($selected_names))
|
||||
|
Loading…
x
Reference in New Issue
Block a user