avoid notice in probe.php
This commit is contained in:
parent
e53e471b6b
commit
68b63ec647
|
@ -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 New Issue
Block a user