mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
bugfix: pressing 2 times apply/save removes just uploaded photo again
This commit is contained in:
parent
841c85b9db
commit
5d6c711849
@ -1045,6 +1045,7 @@ class uicontacts extends bocontacts
|
||||
$content['upload_photo']['tmp_name'] != 'none')
|
||||
{
|
||||
$content['jpegphoto'] = $this->resize_photo($content['upload_photo']);
|
||||
unset($content['upload_photo']);
|
||||
}
|
||||
$links = false;
|
||||
if (!$content['id'] && is_array($content['link_to']['to_id']))
|
||||
|
Loading…
Reference in New Issue
Block a user