mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
parent
d5a33e9f37
commit
47e17bfe89
@ -54,8 +54,13 @@ Value MacroProcessor::ResolveMacros(const Value& str, const ResolverList& resolv
|
|||||||
|
|
||||||
BOOST_FOREACH(const Value& arg, arr) {
|
BOOST_FOREACH(const Value& arg, arr) {
|
||||||
/* Note: don't escape macros here. */
|
/* Note: don't escape macros here. */
|
||||||
resultArr->Add(InternalResolveMacros(arg, resolvers, cr, missingMacro,
|
Value value = InternalResolveMacros(arg, resolvers, cr, missingMacro,
|
||||||
EscapeCallback(), resolvedMacros, useResolvedMacros));
|
EscapeCallback(), resolvedMacros, useResolvedMacros);
|
||||||
|
|
||||||
|
if (value.IsObjectType<Array>())
|
||||||
|
resultArr->Add(Utility::Join(value, ';'));
|
||||||
|
else
|
||||||
|
resultArr->Add(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
result = resultArr;
|
result = resultArr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user