diff --git a/src/Worker/UpdateServerDirectory.php b/src/Worker/UpdateServerDirectory.php index dd94aa52c7..90bd5c50a4 100644 --- a/src/Worker/UpdateServerDirectory.php +++ b/src/Worker/UpdateServerDirectory.php @@ -61,6 +61,9 @@ class UpdateServerDirectory $urls = []; foreach ($contacts['entry'] as $entry) { + if (empty($entry['urls'])) { + continue; + } foreach ($entry['urls'] as $url_entry) { if (empty($url_entry['type']) || empty($url_entry['value'])) { continue;