diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-18 14:59:40 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-18 14:59:40 -0400 |
commit | 3ea856c69e4ec78c830b39f00e1a92ff29c3905f (patch) | |
tree | 77e66bfccb41517b1c53dc33019bb3140d441cf3 /actions/public.php | |
parent | 74cab76cc8d6973abb6aa8bf30eec4ce6dac9faf (diff) |
off-by-one error in notice stream
darcs-hash:20080518185940-84dde-fb7a3af877c67b5d7e9c59d32092c1392a0ecd58.gz
Diffstat (limited to 'actions/public.php')
-rw-r--r-- | actions/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/public.php b/actions/public.php index 5b1e50fa3..777612579 100644 --- a/actions/public.php +++ b/actions/public.php @@ -44,7 +44,7 @@ class PublicAction extends StreamAction { # XXX: filter out private notifications $notice->orderBy('created DESC'); - $notice->limit((($page-1)*NOTICES_PER_PAGE) + 1, NOTICES_PER_PAGE); + $notice->limit((($page-1)*NOTICES_PER_PAGE), NOTICES_PER_PAGE); $notice->find(); |