Merge branch 'fix'

This commit is contained in:
Yuri Kuznetsov
2022-07-26 12:37:58 +03:00
6 changed files with 103 additions and 8 deletions
@@ -3475,7 +3475,7 @@ abstract class BaseQueryComposer implements QueryComposer
$sql .= " ORDER BY {$order}";
}
if ($limit) {
if ($limit !== null) {
$sql = $this->limit($sql, null, $limit);
}
@@ -3507,7 +3507,7 @@ abstract class BaseQueryComposer implements QueryComposer
$sql .= " ORDER BY {$order}";
}
if ($limit) {
if ($limit !== null) {
$sql = $this->limit($sql, null, $limit);
}