summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorChristopher Vollick <psycotica0@gmail.com>2009-09-16 05:07:33 -0400
committerChristopher Vollick <psycotica0@gmail.com>2009-09-16 05:07:33 -0400
commitc4ef2346b864b293fc4c4b02c72b07d18718d0cf (patch)
tree88c550ad73f8b40562b30b1e89ce005d4ae7318f /actions
parentcf0d449fd8115313885a51ef02226d801cb952df (diff)
Pagination of user/tag was navigating to wrong page.
Fixes bug #1736.
Diffstat (limited to 'actions')
-rw-r--r--actions/showstream.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 4d3067eed..89285b13c 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()