sforkowany z mirror/friendica
Merge pull request #8751 from annando/notice
Fix notice "Undefined index: template in src/Network/Probe.php on line 598"2022.09-rc
commit
8e14836152
|
@ -594,7 +594,7 @@ class Probe
|
|||
}
|
||||
|
||||
foreach ($webfinger['links'] as $link) {
|
||||
if ($link['rel'] === ActivityNamespace::OSTATUSSUB) {
|
||||
if (!empty($link['template']) && ($link['rel'] === ActivityNamespace::OSTATUSSUB)) {
|
||||
$result['subscribe'] = $link['template'];
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue