Fixed records per page in export function.

Now the correct number of records will be returned when exporting data.
This commit is contained in:
Andre Lorbach 2009-03-23 14:26:26 +01:00
parent bd56ce2665
commit 407be65b69

View File

@ -282,7 +282,7 @@ if ( !$content['error_occured'] )
// Increment Counter
$counter++;
} while ($counter < $content['ViewEntriesPerPage'] && ($ret = $stream->ReadNext($uID, $logArray)) == SUCCESS);
} while ($counter < $content['CurrentViewEntriesPerPage'] && ($ret = $stream->ReadNext($uID, $logArray)) == SUCCESS);
if ( $content['read_direction'] == EnumReadDirection::Forward )
{