summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-28 09:27:47 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-28 09:27:47 -0400
commitd3d5942ae386aa50364d4725be95d93e9cc25472 (patch)
treea18634c854c69b065f42b7ccacd78732a5b546e9 /actions
parent3544fca93240cfcf1bcd803dbdd07541a1cea1c5 (diff)
change arguments to Notice::publicStream
darcs-hash:20080928132747-5ed1f-9e9b6d8b91f855758ca4b269418f6d5d6e4a2ae0.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/public.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/public.php b/actions/public.php
index e0b2b1635..43beaffc6 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -60,7 +60,8 @@ class PublicAction extends StreamAction {
function show_notices($page) {
$cnt = 0;
- $notice = Notice::publicStream($page);
+ $notice = Notice::publicStream(($page-1)*NOTICES_PER_PAGE,
+ NOTICES_PER_PAGE + 1);
if ($notice) {
common_element_start('ul', array('id' => 'notices'));