From e907216780bf1783c812333276d7c038c3a3565c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 29 Aug 2006 04:18:32 +0000 Subject: [PATCH] fixed bug reported by Deti Fliegl: [ 1548175 ] Pictures in Addressbook cannot be deleted --- addressbook/inc/class.uicontacts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.uicontacts.inc.php b/addressbook/inc/class.uicontacts.inc.php index 414a655d79..aff0830977 100644 --- a/addressbook/inc/class.uicontacts.inc.php +++ b/addressbook/inc/class.uicontacts.inc.php @@ -777,7 +777,7 @@ class uicontacts extends bocontacts { case 'save': case 'apply': - if ($content['delete_photo']) unset($content['jpegphoto']); + if ($content['delete_photo']) $content['jpegphoto'] = null; if (is_array($content['upload_photo']) && !empty($content['upload_photo']['tmp_name']) && $content['upload_photo']['tmp_name'] != 'none') {