diff --git a/src/Supporting/FileMakerRelation.php b/src/Supporting/FileMakerRelation.php index db82a27..cd2ed7e 100644 --- a/src/Supporting/FileMakerRelation.php +++ b/src/Supporting/FileMakerRelation.php @@ -360,7 +360,7 @@ public function getPortalNames(): array } break; case 'RECORD': - if (property_exists($this->data, 'portalData')) { + if (property_exists($this->data, 'portalData') && isset($this->data->portalData)) { foreach ($this->data->portalData as $name => $val) { $list[] = $name; }