Fix for double 'Select One' choice in user preferences.

This commit is contained in:
skeeter 2002-04-15 03:41:04 +00:00
parent c37d99ea26
commit 44ab61718d

View File

@ -42,7 +42,6 @@
);
var $country_array = array(
' '=>'Select One',
'AF'=>'AFGHANISTAN',
'AL'=>'ALBANIA',
'DZ'=>'ALGERIA',
@ -582,7 +581,8 @@
{
$name = 'country';
}
$str = '<select name="'.$name.'">'."\n";
$str = '<select name="'.$name.'">'."\n"
. ' <option value=" ".($selected == ' '?' selected':'').'>Select One</option>'."\n";
reset($this->country_array);
while(list($key,$value) = each($this->country_array))
{