From 68b63ec64708d6b22dadac5492f000a35245a107 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 8 May 2020 13:06:40 +0000 Subject: [PATCH] avoid notice in probe.php --- src/Network/Probe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",