mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
silence expression notice to prevent notice when using a non defined variable/property
This commit is contained in:
parent
4218b0e353
commit
7538e2e60d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue