Relax type constraint on limit parameter in Database\DBA
This commit is contained in:
parent
7e2e2f425e
commit
8a48ff1f95
1 changed files with 1 additions and 1 deletions
|
@ -1484,7 +1484,7 @@ class DBA
|
|||
}
|
||||
|
||||
$limit_string = '';
|
||||
if (isset($params['limit']) && is_int($params['limit'])) {
|
||||
if (isset($params['limit']) && is_numeric($params['limit'])) {
|
||||
$limit_string = " LIMIT " . intval($params['limit']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue