mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
fix typo in Orchard.Widgets.RuleEngine.cs
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Orchard.Widgets.RuleEngine {
|
|||||||
public bool Matches(string expression) {
|
public bool Matches(string expression) {
|
||||||
var evaluator = _evaluators.FirstOrDefault();
|
var evaluator = _evaluators.FirstOrDefault();
|
||||||
if (evaluator == null) {
|
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) });
|
var result = evaluator.Evaluate(expression, new List<IGlobalMethodProvider> { new GlobalMethodProvider(this) });
|
||||||
|
|||||||
Reference in New Issue
Block a user