Fiy fatal error

This commit is contained in:
Michael 2020-08-04 03:18:34 +00:00
parent adfb94d370
commit afa9adda6e

View file

@ -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;
}