Closed jseifeddine closed 3 months ago
Filter expressions in Director can only evaluate string or NULL types.
NULL
Before this PR, the icinga_* PHP variables could either be NULL (if empty or not set) or an object (if set), as described in the README.
icinga_*
This caused the filter expression to throw an error.
This change sets the icinga_*_type to icinga_* object's type as a string to avoid this issue.
icinga_*_type
Fix for #34 #35
Filter expressions in Director can only evaluate string or
NULL
types.Before this PR, the
icinga_*
PHP variables could either beNULL
(if empty or not set) or an object (if set), as described in the README.This caused the filter expression to throw an error.
This change sets the
icinga_*_type
toicinga_*
object's type as a string to avoid this issue.Fix for #34 #35