mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Reset the country array in case this gets called twice in one page
This commit is contained in:
parent
25f39e4837
commit
8f49481960
@ -269,6 +269,7 @@ class country
|
||||
$name = 'country';
|
||||
}
|
||||
$str = '<select name="'.$name.'">'."\n";
|
||||
reset($this->country_array);
|
||||
while(list($key,$value) = each($this->country_array))
|
||||
{
|
||||
$str .= ' <option value="'.$key.'"'.($selected == $key?' selected':'').'>'.$value.'</option>'."\n";
|
||||
|
Loading…
Reference in New Issue
Block a user