Merge pull request #4401 from rabuzarus/20180205_-_fix_tagcloud

fix tagcloud
This commit is contained in:
Hypolite Petovan 2018-02-05 15:09:46 -05:00 committed by GitHub
commit b6a345f0b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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