Fix saving data to allow contact photos to be deleted
This commit is contained in:
parent
8356960660
commit
ba4fd440f6
1 changed files with 1 additions and 1 deletions
|
@ -1164,7 +1164,7 @@ class rcube_kolab_contacts extends rcube_addressbook
|
||||||
}
|
}
|
||||||
|
|
||||||
// add empty values for some fields which can be removed in the UI
|
// add empty values for some fields which can be removed in the UI
|
||||||
return array_filter($contact) + array('nickname' => '', 'birthday' => '', 'anniversary' => '', 'freebusyurl' => '');
|
return array_filter($contact) + array('nickname' => '', 'birthday' => '', 'anniversary' => '', 'freebusyurl' => '', 'photo' => $contact['photo']);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue