Skip to content

Commit 6352652

Browse files
authored
Resolved #22, Wrong order parametr LIMIT
1 parent 61565b0 commit 6352652

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public function prepareGroupBy($groupBy)
374374
public function prepareLimit($limit, $offset = null)
375375
{
376376
if ($offset) {
377-
$this->setLimit = ' LIMIT ' . $limit . ', ' . $offset . '';
377+
$this->setLimit = ' LIMIT ' . $offset . ', ' . $limit . '';
378378
} else {
379379
$this->setLimit = ' LIMIT ' . $limit . '';
380380
}

0 commit comments

Comments
 (0)