Minor fix: Field autoselected on correct country.
This commit is contained in:
parent
63d61b3842
commit
93f057ba6b
@ -976,7 +976,7 @@ function fieldList($fieldlist,$obj='')
|
||||
if ($fieldlist[$field] == 'pays') {
|
||||
if (in_array('region_id',$fieldlist)) { print '<td> </td>'; continue; } // For region page, we do not show the country input
|
||||
print '<td>';
|
||||
$html->select_pays($obj->pays,'pays');
|
||||
print $html->select_country(($obj->pays_code?$obj->pays_code:$obj->pays),'pays');
|
||||
print '</td>';
|
||||
}
|
||||
elseif ($fieldlist[$field] == 'pays_id') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user