fix address book not updated bug
This commit is contained in:
parent
7fd75b3efd
commit
838353bf9d
@ -551,6 +551,8 @@ class ContactModule extends Module {
|
|||||||
case 0:
|
case 0:
|
||||||
$properties["email_address_1"] = $email;
|
$properties["email_address_1"] = $email;
|
||||||
$properties["email_address_display_name_1"] = $fileas . " (" . $email . ")";
|
$properties["email_address_display_name_1"] = $fileas . " (" . $email . ")";
|
||||||
|
$properties["address_book_mv"] = [0]; // this is needed for adding the contact to the email address book, 0 = email 1
|
||||||
|
$properties["address_book_long"] = 1; // this specifies the number of elements in address_book_mv
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
$properties["email_address_2"] = $email;
|
$properties["email_address_2"] = $email;
|
||||||
|
Loading…
Reference in New Issue
Block a user