mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-06-04 14:22:26 -04:00
AssignRenderer: Fix rendering of assign filter for boolean filter expression
This commit is contained in:
parent
b21b849ed2
commit
cd4ea444be
1 changed files with 5 additions and 1 deletions
|
|
@ -143,7 +143,11 @@ class AssignRenderer
|
|||
|
||||
$column = $filter->getColumn();
|
||||
try {
|
||||
$rawExpression = JsonString::decode($filter->getExpression());
|
||||
$rawExpression = $filter->getExpression();
|
||||
if (is_string($rawExpression)) {
|
||||
$rawExpression = JsonString::decode($filter->getExpression());
|
||||
}
|
||||
|
||||
$expression = $this->renderExpressionValue($rawExpression);
|
||||
} catch (JsonDecodeException $e) {
|
||||
throw new InvalidArgumentException(
|
||||
|
|
|
|||
Loading…
Reference in a new issue