From b8f02377085b86b3eaff0cd001cf179d75d918e6 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 10 Apr 2019 12:43:44 +0200 Subject: [PATCH] IcingaScheduledDowntimeRanges: fix property name --- library/Director/Objects/IcingaScheduledDowntimeRanges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Objects/IcingaScheduledDowntimeRanges.php b/library/Director/Objects/IcingaScheduledDowntimeRanges.php index 53f20530..ba2ec0d3 100644 --- a/library/Director/Objects/IcingaScheduledDowntimeRanges.php +++ b/library/Director/Objects/IcingaScheduledDowntimeRanges.php @@ -224,7 +224,7 @@ class IcingaScheduledDowntimeRanges implements Iterator, Countable, IcingaConfig { $db = $this->object->getConnection(); foreach ($this->ranges as $range) { - $range->timeperiod_id = $this->object->id; + $range->scheduled_downtime_id = $this->object->id; $range->store($db); }