Skip to content

Commit

Permalink
One step closer to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LBanfalvi committed Sep 6, 2020
1 parent 1d9858a commit 0f7c6f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Eisodos/Parsers/SQLParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ private function _runSQL($structureParameters_): string {
);
}
}
if (count($resultSet_['rows']) <= $a + 1) {
if (count($resultSet_['rows']) <= $a) {
$row = false;
} else {
$row = $resultSet_['rows'][$a + 1];
$row = $resultSet_['rows'][$a];
}
if (((integer)$structureParameters_["TABLECOLS"] > 0) and ($structureParameters_["TABLEROWEND"] !== "")) {
if (($row===false)
Expand Down

0 comments on commit 0f7c6f6

Please sign in to comment.