]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #4402 from rabuzarus/20180205_-_fix_get_addr_in_probe
authorHypolite Petovan <mrpetovan@gmail.com>
Mon, 5 Feb 2018 20:36:01 +0000 (15:36 -0500)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2018 20:36:01 +0000 (15:36 -0500)
Bugfix: Probe - get the contact address from xrd 'subject' key

src/Content/Widget/TagCloud.php

index a80c2e871e725dc04f6e2878acb1d8ae752b41b4..6d53ca9951dcd9c0e596006781201cb48027c50d 100644 (file)
@@ -38,7 +38,7 @@ class TagCloud
                $o = '';\r
                $r = self::tagadelic($uid, $count, $owner_id, $flags, $type);\r
                if (count($r)) {\r
-                       $contact = dba::selectFirst('contact', ['url'], ['id' => $uid]);\r
+                       $contact = dba::selectFirst('contact', ['url'], ['uid' => $uid, 'self' => true]);\r
                        $url = System::removedBaseUrl($contact['url']);\r
 \r
                        foreach ($r as $rr) {\r