Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
Merge branch 'pu/ps/isset' into '2021.11'
Browse files Browse the repository at this point in the history
tweak(Calendar/Attender): add another isset() check

See merge request tine20/tine20!1909
  • Loading branch information
pschuele committed Mar 14, 2022
2 parents c3b83bd + 440c2e0 commit d18fdb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tine20/Calendar/Model/Attender.php
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,9 @@ public static function resolveAttendee($eventAttendees, $resolveDisplayContainer
if ($attender->user_id instanceof Tinebase_Record_Interface) {
// already resolved
continue;
} elseif (isset(self::$_resolvedAttendeesCache[$attender->user_type][$attender->user_id])){
} elseif (isset(self::$_resolvedAttendeesCache[$attender->user_type])
&& isset(self::$_resolvedAttendeesCache[$attender->user_type][$attender->user_id])
){
// already in cache
$attender->user_id = self::$_resolvedAttendeesCache[$attender->user_type][$attender->user_id];
} else {
Expand Down

0 comments on commit d18fdb1

Please sign in to comment.