X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Ftagcloudsection.php;h=62f7d8961282659f7c12a4b0db2b57840cfc74da;hb=76aa85fe5ef408cecf7c40c0c56d58ff9ac9fcbb;hp=ff2aca6d6ec06eae34895ac3691fdb240aebcd80;hpb=277a6e984c6778865a62b5a1b99219327460be6d;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()