diff --git a/src/Protocol/PortableContact.php b/src/Protocol/PortableContact.php index def8f1b62..a1e6f7e21 100644 --- a/src/Protocol/PortableContact.php +++ b/src/Protocol/PortableContact.php @@ -720,7 +720,7 @@ class PortableContact $server['register_policy'] = Register::CLOSED; - if (is_bool($nodeinfo['openRegistrations']) && $nodeinfo['openRegistrations']) { + if (isset($nodeinfo['openRegistrations']) && is_bool($nodeinfo['openRegistrations']) && $nodeinfo['openRegistrations']) { $server['register_policy'] = Register::OPEN; }