git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 08bd4fa6 authored by mmn's avatar mmn

ShowstreamAction no longer has public ->profile

parent 3900a739
......@@ -115,11 +115,10 @@ class TagCloudSection extends Section
function tagUrl($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));
if ($this->out instanceof ShowstreamAction) {
return common_local_url('showstream', array('nickname' => $this->out->getTarget()->getNickname(), 'tag' => $tag));
}
return common_local_url('tag', array('tag' => $tag));
}
function divId()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment