From 3ac99d6be3b75de80a4d42db39f94c58e40df2d0 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 10 Apr 2019 17:11:35 +0200 Subject: [PATCH] IcingaScheduledDowntime: fix rendering --- library/Director/Objects/IcingaScheduledDowntime.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/library/Director/Objects/IcingaScheduledDowntime.php b/library/Director/Objects/IcingaScheduledDowntime.php index baea8fd8..7e00734c 100644 --- a/library/Director/Objects/IcingaScheduledDowntime.php +++ b/library/Director/Objects/IcingaScheduledDowntime.php @@ -15,7 +15,6 @@ class IcingaScheduledDowntime extends IcingaObject 'object_name' => null, 'object_type' => null, 'disabled' => 'n', - 'display_name' => null, 'author' => null, 'comment' => null, 'fixed' => null, @@ -42,6 +41,13 @@ class IcingaScheduledDowntime extends IcingaObject 'duration' => 'duration', ]; + protected $propertiesNotForRendering = [ + 'id', + 'apply_to', + 'object_name', + 'object_type', + ]; + /** * @return string */