mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +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()
|
||||
{
|
||||
return empty($this->children);
|
||||
return ! $this->children->count();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user