mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Fiy fatal error
This commit is contained in:
parent
adfb94d370
commit
afa9adda6e
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ class UpdateServerDirectory
|
|||
Logger::info('PoCo discovery started', ['poco' => $gserver['poco']]);
|
||||
|
||||
$urls = [];
|
||||
foreach (array_column($contacts['entry'], 'urls') as $urls) {
|
||||
foreach ($urls as $url_entry) {
|
||||
foreach (array_column($contacts['entry'], 'urls') as $url_entries) {
|
||||
foreach ($url_entries as $url_entry) {
|
||||
if (empty($url_entry['type']) || empty($url_entry['value'])) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue