]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #8969 from annando/fix-acl-search
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 4 Aug 2020 08:37:00 +0000 (10:37 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Aug 2020 08:37:00 +0000 (10:37 +0200)
Contact search is fixed

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