This commit is contained in:
James Cole
2024-03-16 07:03:50 +01:00
parent 55f14c587b
commit b3649cd4d0
5 changed files with 197 additions and 2 deletions

View File

@@ -85,6 +85,10 @@ class RuleAction extends Model
return (string)$this->action_value;
}
if (true === config('firefly.feature_flags.expression_engine') && str_starts_with($this->action_value, '\=')) {
// return literal string.
return substr($this->action_value, 1);
}
$expr = new ActionExpression($this->action_value);
try {