diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-20 17:48:30 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-20 17:48:30 +0000 |
commit | 6eeae4f39ad82c89f4d3f1a8cf4b1860d44e4ffa (patch) | |
tree | 30b1697ed559e4913b39296ad361b94b6d10051a | |
parent | baa5c72ca8ea17bb924e587d37cdab9ca82f1285 (diff) | |
download | forums-6eeae4f39ad82c89f4d3f1a8cf4b1860d44e4ffa.tar forums-6eeae4f39ad82c89f4d3f1a8cf4b1860d44e4ffa.tar.gz forums-6eeae4f39ad82c89f4d3f1a8cf4b1860d44e4ffa.tar.bz2 forums-6eeae4f39ad82c89f4d3f1a8cf4b1860d44e4ffa.tar.xz forums-6eeae4f39ad82c89f4d3f1a8cf4b1860d44e4ffa.zip |
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
-rw-r--r-- | phpBB/db/mssql-odbc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |