Fix pagination.

git-svn-id: svn://10.0.0.236/trunk@213615 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com 2006-10-13 19:29:10 +00:00
parent dc53b41774
commit 9cc7a4e9fb

View File

@ -199,7 +199,7 @@ class PartiesController extends AppController {
//Paginate!
$count = $this->Party->findCount();
$pages = ceil($count/10);
$pages = ceil($count/100);
if ($page == null)
$page = 1;
if ($page > 1)