fixed address field bug
This commit is contained in:
parent
5cbbf7cbf5
commit
d214a86eeb
@ -262,7 +262,8 @@ function materio_user_webform_client_11186_form_alter(&$form, &$form_state, $for
|
||||
$columnright['company']['d']['vat_number_intra_ce']['#default_value'] = $member_profile->field_vat_number_intra_ce['und'][0]['value'];
|
||||
$columnright['company']['d']['website']['#default_value'] = $member_profile->field_user_website['und'][0]['url'];
|
||||
|
||||
if($address = $member_profile->field_adresse['und'][0]){
|
||||
if( isset($member_profile->field_adresse['und'][0]) ){
|
||||
$address = $member_profile->field_adresse['und'][0];
|
||||
$formaddress = &$columnright['company']['location']['#address'];
|
||||
$formaddress['country'] = $address['country'];
|
||||
$formaddress['thoroughfare'] = $address['thoroughfare'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user