silence expression notice to prevent notice when using a non defined variable/property
This commit is contained in:
parent
4218b0e353
commit
7538e2e60d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue