From d1660b3c4d50973bb578912880af2e7cca78ee93 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 29 Sep 2008 19:00:47 -0400 Subject: trying to fix up pages in tags darcs-hash:20080929230047-5ed1f-1fee58a5bb18c71de7abeef67d89b087d84cc853.gz --- actions/tag.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actions') 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) { -- cgit v1.2.3-54-g00ecf