From baa5c72ca8ea17bb924e587d37cdab9ca82f1285 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 20 Mar 2002 17:47:26 +0000 Subject: Fix bug causing no output beyond first page of results git-svn-id: file:///svn/phpbb/trunk@2379 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/msaccess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/db/msaccess.php b/phpBB/db/msaccess.php index fe45540be2..d3eff04c4c 100644 --- a/phpBB/db/msaccess.php +++ b/phpBB/db/msaccess.php @@ -134,7 +134,7 @@ class sql_db $this->result_rowset[$this->result] = array(); $row_outer = ( isset($row_offset) ) ? $row_offset + 1 : 1; - $row_outer_max = ( isset($num_rows) ) ? $num_rows + 1 : 1E9; + $row_outer_max = ( isset($num_rows) ) ? $row_offset + $num_rows + 1 : 1E9; $row_inner = 0; while( odbc_fetch_row($this->result, $row_outer) && $row_outer < $row_outer_max ) -- cgit v1.2.1