mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
16cf274efc
commit
af759ff6ab
@ -192,7 +192,7 @@ Value NotInExpression::DoEvaluate(VMFrame& frame, DebugHint *dhint) const
|
||||
Value right = m_Operand2->Evaluate(frame);
|
||||
|
||||
if (right.IsEmpty())
|
||||
return false;
|
||||
return true;
|
||||
else if (!right.IsObjectType<Array>())
|
||||
BOOST_THROW_EXCEPTION(ConfigError("Invalid right side argument for 'in' operator: " + JsonEncode(right)));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user