From 2677ca47d8346cd43f229bae5650d2e4145c0028 Mon Sep 17 00:00:00 2001 From: luhmannAlexander <45062863+luhmannAlexander@users.noreply.github.com> Date: Wed, 8 Jun 2022 08:56:53 +0200 Subject: [PATCH] Skip undefined array key --- src/MAPI/Property/PropertyStore.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MAPI/Property/PropertyStore.php b/src/MAPI/Property/PropertyStore.php index 5cdd158..f4102f0 100644 --- a/src/MAPI/Property/PropertyStore.php +++ b/src/MAPI/Property/PropertyStore.php @@ -152,6 +152,8 @@ protected function parseNameId($obj) //# a bit sus $guid_off = $flags >> 1; + if (!isset($guids[$guid_off - 2])) + return; $guid = $guids[$guid_off - 2]; /*$properties[] = [