]> git.mxchange.org Git - friendica.git/commitdiff
Fiy fatal error
authorMichael <heluecht@pirati.ca>
Tue, 4 Aug 2020 03:18:34 +0000 (03:18 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 4 Aug 2020 03:18:34 +0000 (03:18 +0000)
src/Worker/UpdateServerDirectory.php

index 1244e2c2c0737a57e27eed1a3df1d21c2c5e4ca5..21599b533e65c2a10d46ac22ee4a875c0fec0361 100644 (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;
                                }