Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoLouwerse committed Dec 8, 2022
1 parent 590f0d7 commit de3b331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Service/RequestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ private function handleXCommongatewayMetadata(&$result, array $xCommongatewayMet
}
return;
}
if (!Uuid::isValid($result['id'])) {

if (!isset($result['id']) || !Uuid::isValid($result['id'])) {
return;
}
$objectEntity = $this->entityManager->getRepository('App:ObjectEntity')->findOneBy(['id' => $result['id']]);
Expand Down

0 comments on commit de3b331

Please sign in to comment.