fix tagcloud

This commit is contained in:
rabuzarus 2018-02-05 21:05:11 +01:00
parent 99aa9bedd0
commit 91a346960a

View File

@ -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) {