From: rabuzarus Date: Mon, 5 Feb 2018 20:05:11 +0000 (+0100) Subject: fix tagcloud X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=91a346960a52fdf589d1fb4a9197943f1e18da27;p=friendica.git fix tagcloud --- diff --git a/src/Content/Widget/TagCloud.php b/src/Content/Widget/TagCloud.php index a80c2e871e..6d53ca9951 100644 --- a/src/Content/Widget/TagCloud.php +++ b/src/Content/Widget/TagCloud.php @@ -38,7 +38,7 @@ class TagCloud $o = ''; $r = self::tagadelic($uid, $count, $owner_id, $flags, $type); if (count($r)) { - $contact = dba::selectFirst('contact', ['url'], ['id' => $uid]); + $contact = dba::selectFirst('contact', ['url'], ['uid' => $uid, 'self' => true]); $url = System::removedBaseUrl($contact['url']); foreach ($r as $rr) {