s/rc_image_content_type/rcube_mime::image_content_type/
This commit is contained in:
parent
f109d5ab30
commit
b4172e7aed
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ class kolab_format_contact extends kolab_format
|
|||
$this->obj->setAnniversary(self::get_datetime($object['anniversary'], false, true));
|
||||
|
||||
if (!empty($object['photo'])) {
|
||||
if ($type = rc_image_content_type($object['photo']))
|
||||
if ($type = rcube_mime::image_content_type($object['photo']))
|
||||
$this->obj->setPhoto($object['photo'], $type);
|
||||
}
|
||||
else if (isset($object['photo']))
|
||||
|
|
Loading…
Add table
Reference in a new issue