Commit 2063aa2c authored by mku's avatar mku

ZP-182 #comment Calendar app crashes when editing meeting request #time 1h30m

git-svn-id: https://z-push.org/svn/z-push/trunk@1457 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 29de2c8f
......@@ -1872,6 +1872,11 @@ class MAPIProvider {
if($addrtype == "SMTP" && isset($props[PR_EMAIL_ADDRESS]))
return $props[PR_EMAIL_ADDRESS];
elseif ($addrtype == "ZARAFA" && isset($props[PR_EMAIL_ADDRESS])) {
$userinfo = mapi_zarafa_getuser_by_name($this->store, $props[PR_EMAIL_ADDRESS]);
if (is_array($userinfo) && isset($userinfo["emailaddress"]))
return $userinfo["emailaddress"];
}
return "";
}
......
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