Commit 182aa9a1 authored by Evan Prodromou's avatar Evan Prodromou

better page numbers

darcs-hash:20080528173417-84dde-033ab1f9a30c1b19c1f2b5a5b6ea652d94c226e7.gz
parent 0a60c577
......@@ -261,7 +261,7 @@ class ShowstreamAction extends StreamAction {
$notice->orderBy('created DESC');
$page = $this->arg('page') || 1;
$page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
$notice->limit((($page-1)*NOTICES_PER_PAGE), NOTICES_PER_PAGE + 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment