silence expression notice to prevent notice when using a non defined variable/property

This commit is contained in:
osaajani 2021-11-26 19:40:26 +01:00
parent 4218b0e353
commit 7538e2e60d
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
{
try
{
$result = $this->expression_language->evaluate($condition, $data);
@$result = $this->expression_language->evaluate($condition, $data);
return (bool) $result;
}