mirror of https://github.com/Icinga/icinga2.git
parent
d98f9a3c92
commit
26338c0fa6
|
@ -109,6 +109,7 @@ Array::Ptr ScriptUtils::Union(const std::vector<Value>& arguments)
|
|||
Array::Ptr arr = varr;
|
||||
|
||||
if (arr) {
|
||||
ObjectLock olock(arr);
|
||||
BOOST_FOREACH(const Value& value, arr) {
|
||||
values.insert(value);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue