mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 01:04:09 +02:00
Fix TreeNodeIterator::isEmpty()
This commit is contained in:
parent
528be1ee79
commit
a5119a7a2e
@ -92,6 +92,6 @@ class TreeNodeIterator implements RecursiveIterator
|
|||||||
*/
|
*/
|
||||||
public function isEmpty()
|
public function isEmpty()
|
||||||
{
|
{
|
||||||
return empty($this->children);
|
return ! $this->children->count();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user