diff --git a/lib/Service/AutoConfig/IspDb.php b/lib/Service/AutoConfig/IspDb.php index 5f07a71024..2d9576c551 100644 --- a/lib/Service/AutoConfig/IspDb.php +++ b/lib/Service/AutoConfig/IspDb.php @@ -75,7 +75,7 @@ private function queryUrl(string $url, Horde_Mail_Rfc822_Address $email): ?Confi libxml_use_internal_errors(true); $data = simplexml_load_string($xml); - if ($data === false || !isset($data->emailProvider)) { + if ($data === false || !property_exists($data, 'emailProvider')) { $errors = libxml_get_errors(); foreach ($errors as $error) { $this->logger->debug("ISP DB returned an erroneous XML: " . $error->message);