Fix saving data to allow contact photos to be deleted

This commit is contained in:
Thomas Bruederli 2012-11-13 17:45:53 +01:00
parent 8356960660
commit ba4fd440f6

View file

@ -1164,7 +1164,7 @@ class rcube_kolab_contacts extends rcube_addressbook
}
// 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']);
}
}