Merge pull request #4401 from rabuzarus/20180205_-_fix_tagcloud
fix tagcloud
This commit is contained in:
commit
b6a345f0b2
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue