From: Christopher Vollick Date: Wed, 16 Sep 2009 09:07:33 +0000 (-0400) Subject: Pagination of user/tag was navigating to wrong page. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=sidebyside;h=c4ef2346b864b293fc4c4b02c72b07d18718d0cf;p=quix0rs-gnu-social.git Pagination of user/tag was navigating to wrong page. Fixes bug #1736. --- diff --git a/actions/showstream.php b/actions/showstream.php index 4d3067eed3..89285b13c7 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -380,8 +380,13 @@ class ShowstreamAction extends ProfileAction $this->showEmptyListMessage(); } + $args = array('nickname' => $this->user->nickname); + if (!empty($this->tag)) + { + $args['tag'] = $this->tag; + } $this->pagination($this->page>1, $cnt>NOTICES_PER_PAGE, $this->page, - 'showstream', array('nickname' => $this->user->nickname)); + 'showstream', $args); } function showAnonymousMessage()