From 91a346960a52fdf589d1fb4a9197943f1e18da27 Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Mon, 5 Feb 2018 21:05:11 +0100 Subject: [PATCH] fix tagcloud --- src/Content/Widget/TagCloud.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {