Merge pull request #6425 from rtpHarry/widget-ruleengine-typo

Fix typo in Orchard.Widgets.RuleEngine.cs
This commit is contained in:
Sébastien Ros
2016-02-18 17:50:45 -08:00

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 engines enabled"));
}
var result = evaluator.Evaluate(expression, new List<IGlobalMethodProvider> { new GlobalMethodProvider(this) });