Fix null offset

This commit is contained in:
Loz Calver 2015-05-04 22:37:13 +01:00
parent e4960193b8
commit 4a91d999ee

View File

@ -81,6 +81,8 @@ class SQLite3QueryBuilder extends DBQueryBuilder {
$clause = "{$nl}";
if($limit['limit'] !== null) {
$clause .= "LIMIT {$limit['limit']} ";
} else {
$clause .= "LIMIT -1 ";
}
if(isset($limit['start']) && is_numeric($limit['start']) && $limit['start'] !== 0) {