Merge pull request #8609 from AlfredSK/fix-notice-in-probe
avoid notice in probe.php
This commit is contained in:
commit
8a4b830552
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue