diff options
Diffstat (limited to 'actions/public.php')
-rw-r--r-- | actions/public.php | 3 |
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')); |