Browse Source

FIX #28491 (#28522)

sonikf 1 year ago
parent
commit
1e11de0624
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/user/card.php

+ 1 - 1
htdocs/user/card.php

@@ -2554,7 +2554,7 @@ if ($action == 'create' || $action == 'adduserldap') {
 				print '<tr><td class="tdoverflow">'.$form->editfieldkey('State', 'state_id', '', $object, 0).'</td><td>';
 				if ($caneditfield) {
 					print img_picto('', 'state', 'class="pictofixedwidth"');
-					print $formcompany->select_state($object->state_id, $object->country_code, 'state_id');
+					print $formcompany->select_state_ajax('country_id', $object->state_id, $object->country_id, 'state_id');
 				} else {
 					print $object->state;
 				}