IcingaScheduledDowntimeRanges: fix property name

This commit is contained in:
Thomas Gelf 2019-04-10 12:43:44 +02:00
parent 9d17984750
commit b8f0237708
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}