mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
legacy/IcingaObject: Render interval properties properly
This commit is contained in:
parent
d4d309a704
commit
ff0553c9dd
@ -2075,6 +2075,13 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->propertyIsInterval($key)) {
|
||||||
|
return c1::renderKeyValue(
|
||||||
|
$this->intervalProperties[$key],
|
||||||
|
c1::renderInterval($value)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (substr($key, -3) === '_id'
|
if (substr($key, -3) === '_id'
|
||||||
&& $this->hasRelation($relKey = substr($key, 0, -3))
|
&& $this->hasRelation($relKey = substr($key, 0, -3))
|
||||||
) {
|
) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user