bugfix: pressing 2 times apply/save removes just uploaded photo again

This commit is contained in:
Ralf Becker 2007-04-18 15:39:48 +00:00
parent 841c85b9db
commit 5d6c711849

View File

@ -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']))