plugins/kolab_addressbook

Thomas Brüderli bruederli at kolabsys.com
Tue Nov 13 17:46:10 CET 2012


 plugins/kolab_addressbook/lib/rcube_kolab_contacts.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba4fd440f646e5289b6902ff3164f3c44f07e960
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Tue Nov 13 17:45:53 2012 +0100

    Fix saving data to allow contact photos to be deleted

diff --git a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
index 756f514..b34f373 100644
--- a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
+++ b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
@@ -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']);
     }
 
 }





More information about the commits mailing list