From 6eeae4f39ad82c89f4d3f1a8cf4b1860d44e4ffa Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 20 Mar 2002 17:48:30 +0000 Subject: suspect there may be a similar problem to the msaccess beyond first page bug here too ... may be wrong :D git-svn-id: file:///svn/phpbb/trunk@2380 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/mssql-odbc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB') diff --git a/phpBB/db/mssql-odbc.php b/phpBB/db/mssql-odbc.php index 76424d111e..e2b3e5cd91 100644 --- a/phpBB/db/mssql-odbc.php +++ b/phpBB/db/mssql-odbc.php @@ -131,7 +131,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