From bf509404b41f30697153bfa6b57f16af688bb00d Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 16 May 2007 09:42:58 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1431 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/page/PageHandler.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/page/PageHandler.class.php b/classes/page/PageHandler.class.php index 56656585d..f4c4ec980 100644 --- a/classes/page/PageHandler.class.php +++ b/classes/page/PageHandler.class.php @@ -36,6 +36,8 @@ $this->first_page = $first_page; $this->last_page = $last_page; + + if($total_page < $this->page_count) $this->page_count = $total_page; } /**