diff --git a/src/Network/Probe.php b/src/Network/Probe.php index 1e6d8406a..edcb9f4c3 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -370,7 +370,7 @@ class Probe $data[] = ["@attributes" => $link]; } - if (is_array($webfinger["aliases"])) { + if (!empty($webfinger["aliases"]) && is_array($webfinger["aliases"])) { foreach ($webfinger["aliases"] as $alias) { $data[] = ["@attributes" => ["rel" => "alias",