mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 10:57:41 +02:00
ArrayCustomVariablesFilter: check for type (PHP81)
This commit is contained in:
parent
ef4068ebde
commit
f35ded85fb
@ -8,6 +8,7 @@ class ArrayCustomVariablesFilter extends CustomVariablesFilter
|
||||
{
|
||||
return parent::match($type, $name, $object)
|
||||
&& $object !== null
|
||||
&& isset($object->datatype)
|
||||
&& (
|
||||
preg_match('/DataTypeArray[\w]*$/', $object->datatype)
|
||||
|| (
|
||||
|
Loading…
x
Reference in New Issue
Block a user