summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/tag.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/tag.php b/actions/tag.php
index 177aee603..6796cd34f 100644
--- a/actions/tag.php
+++ b/actions/tag.php
@@ -160,6 +160,9 @@ class TagAction extends StreamAction {
function show_notices($tag) {
$cnt = 0;
+
+ $page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
+
$notice = Notice_tag::getStream($tag, (($page-1)*NOTICES_PER_PAGE), NOTICES_PER_PAGE + 1);
if ($notice) {