mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
cee12fd6a5
commit
48e96ba301
@ -290,7 +290,7 @@ class RequirementSet implements RecursiveIterator
|
||||
*/
|
||||
public function valid(): bool
|
||||
{
|
||||
return $this->key() !== null;
|
||||
return key($this->requirements) !== null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user