Commit 4015a071 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1160 Check if the Representing_ENTRY_ID is set in the properties

before accessing it.

Released under the Affero GNU General Public License (AGPL) version 3.
parent a96fcd98
......@@ -265,7 +265,7 @@ class MAPIProvider {
//set attendee's status and type if they're available and if we are the organizer
$storeprops = $this->GetStoreProps();
if (isset($row[PR_RECIPIENT_TRACKSTATUS]) && $messageprops[$appointmentprops["representingentryid"]] == $storeprops[PR_MAILBOX_OWNER_ENTRYID])
if (isset($row[PR_RECIPIENT_TRACKSTATUS]) && isset($messageprops[$appointmentprops["representingentryid"]]) && $messageprops[$appointmentprops["representingentryid"]] == $storeprops[PR_MAILBOX_OWNER_ENTRYID])
$attendee->attendeestatus = $row[PR_RECIPIENT_TRACKSTATUS];
if (isset($row[PR_RECIPIENT_TYPE]))
$attendee->attendeetype = $row[PR_RECIPIENT_TYPE];
......
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