From 999d635dc63a52a64ff9abd84b7b37b30a2f811c Mon Sep 17 00:00:00 2001 From: vargenau Date: Fri, 15 Feb 2008 19:52:04 +0000 Subject: [PATCH] Corrected bug #1847961: In AllPages with a limit, last page is incorrectly numbered git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@5996 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/PageList.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/PageList.php b/lib/PageList.php index 05172c067..b6f2f8c71 100644 --- a/lib/PageList.php +++ b/lib/PageList.php @@ -1,4 +1,4 @@ - 0) { $prev['limit'] = max(0, $offset - $pagesize) . ",$pagesize"; $prev['count'] = $numrows; @@ -1689,6 +1689,9 @@ extends PageList { } // $Log: not supported by cvs2svn $ +// Revision 1.152 2008/02/15 19:46:12 vargenau +// Allow sorting by hits; test method_exists +// // Revision 1.151 2008/02/14 18:42:53 rurban // ref to a class does not work with php-4, add ratingvalue // -- 2.45.0