mirror of
https://github.com/friendica/friendica
synced 2024-12-24 03:20:20 +00:00
commit
977ad51afd
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ class UpdateServerDirectory
|
||||||
Logger::info('PoCo discovery started', ['poco' => $gserver['poco']]);
|
Logger::info('PoCo discovery started', ['poco' => $gserver['poco']]);
|
||||||
|
|
||||||
$urls = [];
|
$urls = [];
|
||||||
foreach (array_column($contacts['entry'], 'urls') as $urls) {
|
foreach (array_column($contacts['entry'], 'urls') as $url_entries) {
|
||||||
foreach ($urls as $url_entry) {
|
foreach ($url_entries as $url_entry) {
|
||||||
if (empty($url_entry['type']) || empty($url_entry['value'])) {
|
if (empty($url_entry['type']) || empty($url_entry['value'])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue