mirror of https://github.com/Icinga/icinga2.git
parent
57cc7b195a
commit
201c41f2ca
|
@ -199,7 +199,7 @@ Value MacroProcessor::EvaluateFunction(const Function::Ptr& func, const Resolver
|
||||||
|
|
||||||
resolvers_this->Set("macro", new Function(boost::bind(&MacroProcessor::InternalResolveMacrosShim,
|
resolvers_this->Set("macro", new Function(boost::bind(&MacroProcessor::InternalResolveMacrosShim,
|
||||||
_1, boost::cref(resolvers), cr, missingMacro, MacroProcessor::EscapeCallback(), resolvedMacros, useResolvedMacros,
|
_1, boost::cref(resolvers), cr, missingMacro, MacroProcessor::EscapeCallback(), resolvedMacros, useResolvedMacros,
|
||||||
recursionLevel)));
|
recursionLevel + 1)));
|
||||||
|
|
||||||
ScriptFrame frame(resolvers_this);
|
ScriptFrame frame(resolvers_this);
|
||||||
return func->Invoke();
|
return func->Invoke();
|
||||||
|
|
Loading…
Reference in New Issue