mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
SimpleQuery: Do not report to have a limit if there is none
This commit is contained in:
parent
5d3eb5e8cb
commit
56c506c8af
@ -380,7 +380,7 @@ class SimpleQuery implements QueryInterface, Queryable, Iterator
|
|||||||
*/
|
*/
|
||||||
public function hasLimit()
|
public function hasLimit()
|
||||||
{
|
{
|
||||||
return $this->limitCount !== null;
|
return $this->limitCount !== null && $this->limitCount > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user