Skip to content

Commit 24cb9f6

Browse files
committed
Check if instanceid is set
1 parent a9f408d commit 24cb9f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/request/meetingresponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function Handle($commandCode) {
126126
if (!self::$backend->Setup(ZPush::GetAdditionalSyncFolderStore($backendFolderId)))
127127
throw new StatusException(sprintf("HandleMoveItems() could not Setup() the backend for folder id %s/%s", $req["folderid"], $backendFolderId), SYNC_MEETRESPSTATUS_SERVERERROR);
128128

129-
$calendarid = self::$backend->MeetingResponse($req["requestid"], $backendFolderId, $req["response"], $req["instanceid"]);
129+
$calendarid = self::$backend->MeetingResponse($req["requestid"], $backendFolderId, $req["response"], $req["instanceid"] ?? null);
130130
if ($calendarid === false)
131131
throw new StatusException("HandleMeetingResponse() not possible", SYNC_MEETRESPSTATUS_SERVERERROR);
132132
}

0 commit comments

Comments
 (0)