fix typo in Orchard.Widgets.RuleEngine.cs

This commit is contained in:
Matthew Harris
2016-02-19 00:32:40 +00:00
parent 290f8e4594
commit c61666bfdc

View File

@@ -21,7 +21,7 @@ namespace Orchard.Widgets.RuleEngine {
public bool Matches(string expression) {
var evaluator = _evaluators.FirstOrDefault();
if (evaluator == null) {
throw new OrchardException(T("There are currently not scripting engine enabled"));
throw new OrchardException(T("There are currently no scripting engine's enabled"));
}
var result = evaluator.Evaluate(expression, new List<IGlobalMethodProvider> { new GlobalMethodProvider(this) });