mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 21:24:41 +02:00
parent
338f5c0be8
commit
fe12a10c89
@ -65,7 +65,7 @@ bool CreateObjectHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& r
|
|||||||
if (!attrs) {
|
if (!attrs) {
|
||||||
attrs = new Dictionary();
|
attrs = new Dictionary();
|
||||||
attrs->Set("zone", localZoneName);
|
attrs->Set("zone", localZoneName);
|
||||||
} else if (attrs && !attrs->Contains("zone")) {
|
} else if (!attrs->Contains("zone")) {
|
||||||
attrs->Set("zone", localZoneName);
|
attrs->Set("zone", localZoneName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user