[core] A filter expression that errors should be treated as false, not true
This commit is contained in:
@@ -13,7 +13,7 @@ bool Filter::operator()(const expression::EvaluationContext &context) const {
|
||||
const optional<bool> typed = expression::fromExpressionValue<bool>(*result);
|
||||
return typed ? *typed : false;
|
||||
} else {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user