Skip to content
Snippets Groups Projects
Commit 69e6fd5a authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Wouter Wolters
Browse files

[BUGFIX] Fix typo of variable

$numRows got mixed up with $numrows which could lead to
invalid SQL statements.

Resolves: #63281
Releases: master, 6.2
Change-Id: I209b41d3f502841b74fac7f047aa68a3e45bf271
Reviewed-on: http://review.typo3.org/34530


Reviewed-by: default avatarMathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: default avatarMathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 697bd8af
Branches
Tags
No related merge requests found
......@@ -164,7 +164,7 @@ class AdodbPreparedStatement extends \TYPO3\CMS\Dbal\Database\DatabaseConnection
// If there are two parameters, do mapping differently than otherwise:
$numRows = $splitLimit[1];
$offset = $splitLimit[0];
$limit = $numrows . ' OFFSET ' . $offset;
$limit = $numRows . ' OFFSET ' . $offset;
}
}
if ($limit !== '') {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment