better page numbers
darcs-hash:20080528173417-84dde-033ab1f9a30c1b19c1f2b5a5b6ea652d94c226e7.gz
This commit is contained in:
		| @@ -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); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user