git-svn-id: http://xe-core.googlecode.com/svn/trunk@1466 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-18 05:24:33 +00:00
parent 5004783084
commit 44cba86bde
5 changed files with 16 additions and 4 deletions

View file

@ -45,7 +45,7 @@
**/
function getNextPage() {
$page = $this->first_page+$this->point++;
if($this->point > $this->page_count) $page = 0;
if($this->point > $this->page_count || $page > $this->last_page) $page = 0;
return $page;
}
}