avoid notice in probe.php
This commit is contained in:
parent
e53e471b6b
commit
68b63ec647
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