Skip to content

Commit 7cc8094

Browse files
committed
Fixed type comparison
1 parent 593c3a2 commit 7cc8094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Response/DatatableQueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ private function setOrderBy(QueryBuilder $qb)
588588
private function setLimit(QueryBuilder $qb)
589589
{
590590
if (true === $this->features->getPaging() || null === $this->features->getPaging()) {
591-
if (isset($this->requestParams['start']) && self::DISABLE_PAGINATION !== $this->requestParams['length']) {
591+
if (isset($this->requestParams['start']) && self::DISABLE_PAGINATION !== (int) $this->requestParams['length']) {
592592
$qb->setFirstResult($this->requestParams['start'])->setMaxResults($this->requestParams['length']);
593593
}
594594
} elseif ($this->ajax->getPipeline() > 0) {

0 commit comments

Comments
 (0)