X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Ftagcloudsection.php;h=62f7d8961282659f7c12a4b0db2b57840cfc74da;hb=83adf9fa1ab9d288e86fba9907be11454c3e0e28;hp=ff2aca6d6ec06eae34895ac3691fdb240aebcd80;hpb=171d89aab79207f08b3c84d76a4b2bb50185490d;p=quix0rs-gnu-social.git diff --git a/lib/tagcloudsection.php b/lib/tagcloudsection.php index ff2aca6d6e..62f7d89612 100644 --- a/lib/tagcloudsection.php +++ b/lib/tagcloudsection.php @@ -114,7 +114,11 @@ class TagCloudSection extends Section function tagUrl($tag) { - return common_local_url('tag', array('tag' => $tag)); + if ('showstream' === $this->out->trimmed('action')) { + return common_local_url('showstream', array('nickname' => $this->out->profile->nickname, 'tag' => $tag)); + } else { + return common_local_url('tag', array('tag' => $tag)); + } } function divId()