mirror of https://github.com/Icinga/icinga2.git
parent
656d6ff13a
commit
3464f29ca2
|
@ -54,7 +54,7 @@ bool Zone::CanAccessObject(const DynamicObject::Ptr& object) const
|
||||||
Zone::GetByName(object->GetZone());
|
Zone::GetByName(object->GetZone());
|
||||||
|
|
||||||
if (!object_zone)
|
if (!object_zone)
|
||||||
return false;
|
object_zone = Zone::GetLocalZone();
|
||||||
|
|
||||||
while (object_zone) {
|
while (object_zone) {
|
||||||
if (object_zone.get() == this)
|
if (object_zone.get() == this)
|
||||||
|
|
Loading…
Reference in New Issue