mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fixed bug reported by Deti Fliegl: [ 1548175 ] Pictures in Addressbook cannot be deleted
This commit is contained in:
parent
52f02a4ec2
commit
e907216780
@ -777,7 +777,7 @@ class uicontacts extends bocontacts
|
|||||||
{
|
{
|
||||||
case 'save':
|
case 'save':
|
||||||
case 'apply':
|
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']) &&
|
if (is_array($content['upload_photo']) && !empty($content['upload_photo']['tmp_name']) &&
|
||||||
$content['upload_photo']['tmp_name'] != 'none')
|
$content['upload_photo']['tmp_name'] != 'none')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user