Fixed email field resetting after contact update (#314)
This commit is contained in:
parent
1fe8ad6b31
commit
e2447a803a
1 changed files with 1 additions and 1 deletions
|
@ -1123,7 +1123,7 @@ class rcube_kolab_contacts extends rcube_addressbook
|
|||
$emails = $this->get_col_values('email', $contact, true);
|
||||
$object['emails'] = join(', ', array_filter($emails));
|
||||
// overwrite 'email' field
|
||||
unset($object['email']);
|
||||
$object['email'] = null;
|
||||
|
||||
foreach ($this->get_col_values('phone', $contact) as $type => $values) {
|
||||
if ($this->phonetypemap[$type])
|
||||
|
|
Loading…
Add table
Reference in a new issue