Another solution to merge request !146
This commit is contained in:
parent
e4d77cb9b2
commit
9b19688d65
|
@ -230,13 +230,14 @@ class ShowstreamAction extends NoticestreamAction
|
||||||
$this->showEmptyListMessage();
|
$this->showEmptyListMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
$args = array('nickname' => $this->target->getNickname());
|
// either nickname or id will be used, depending on which action (showstream, userbyid...)
|
||||||
|
$args = array('nickname' => $this->target->getNickname(), 'id' => $this->target->getID());
|
||||||
if (!empty($this->tag))
|
if (!empty($this->tag))
|
||||||
{
|
{
|
||||||
$args['tag'] = $this->tag;
|
$args['tag'] = $this->tag;
|
||||||
}
|
}
|
||||||
$this->pagination($this->page>1, $cnt>NOTICES_PER_PAGE, $this->page,
|
$this->pagination($this->page>1, $cnt>NOTICES_PER_PAGE, $this->page,
|
||||||
'showstream', $args);
|
$this->getActionName(), $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
function showAnonymousMessage()
|
function showAnonymousMessage()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user