mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Replace the outer row offset ... I'm sure I removed this for a reason but the problems it's caused seem widespread so .. hopefully this won't add new (or old) problems ...
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2906 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
097d77ee26
commit
d364392c45
1 changed files with 5 additions and 5 deletions
|
@ -137,7 +137,7 @@ class sql_db
|
||||||
$row_outer_max = ( isset($num_rows) ) ? $row_offset + $num_rows + 1 : 1E9;
|
$row_outer_max = ( isset($num_rows) ) ? $row_offset + $num_rows + 1 : 1E9;
|
||||||
$row_inner = 0;
|
$row_inner = 0;
|
||||||
|
|
||||||
while( odbc_fetch_row($this->result) && $row_outer < $row_outer_max )
|
while( odbc_fetch_row($this->result, $row_outer) && $row_outer < $row_outer_max )
|
||||||
{
|
{
|
||||||
for($j = 0; $j < count($this->field_names[$this->result]); $j++)
|
for($j = 0; $j < count($this->field_names[$this->result]); $j++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue