Skip to content

Commit

Permalink
Minor fix: Field autoselected on correct country.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 19, 2011
1 parent 63d61b3 commit 93f057b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/admin/dict.php
Expand Up @@ -976,7 +976,7 @@ function fieldList($fieldlist,$obj='')
if ($fieldlist[$field] == 'pays') {
if (in_array('region_id',$fieldlist)) { print '<td>&nbsp;</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') {
Expand Down

0 comments on commit 93f057b

Please sign in to comment.