Commit 3d205b7e authored by mku's avatar mku

ZP-446 #comment A contact's picture is not updated #time 30m

git-svn-id: https://z-push.org/svn/z-push/trunk@1725 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 2080fa62
......@@ -1384,8 +1384,8 @@ class MAPIProvider {
// TODO contact picture handling
// check if contact has already got a picture. delete it first in that case
// delete it also if it was removed on a mobile
$picprops = mapi_getprops($mapimessage, array($props[$contactprops["haspic"]]));
if (isset($picprops[$props[$contactprops["haspic"]]]) && $picprops[$props[$contactprops["haspic"]]]) {
$picprops = mapi_getprops($mapimessage, array($contactprops["haspic"]));
if (isset($picprops[$contactprops["haspic"]]) && $picprops[$contactprops["haspic"]]) {
ZLog::Write(LOGLEVEL_DEBUG, "Contact already has a picture. Delete it");
$attachtable = mapi_message_getattachmenttable($mapimessage);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment