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