mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-20 00:10:29 -05:00
parent
338f5c0be8
commit
fe12a10c89
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue