]> git.mxchange.org Git - friendica.git/commitdiff
fix tagcloud
authorrabuzarus <rabuzarus@t-online.de>
Mon, 5 Feb 2018 20:05:11 +0000 (21:05 +0100)
committerrabuzarus <rabuzarus@t-online.de>
Mon, 5 Feb 2018 20:05:11 +0000 (21:05 +0100)
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