IcingaScheduledDowntimeRanges: fix property name
This commit is contained in:
parent
9d17984750
commit
b8f0237708
|
@ -224,7 +224,7 @@ class IcingaScheduledDowntimeRanges implements Iterator, Countable, IcingaConfig
|
||||||
{
|
{
|
||||||
$db = $this->object->getConnection();
|
$db = $this->object->getConnection();
|
||||||
foreach ($this->ranges as $range) {
|
foreach ($this->ranges as $range) {
|
||||||
$range->timeperiod_id = $this->object->id;
|
$range->scheduled_downtime_id = $this->object->id;
|
||||||
$range->store($db);
|
$range->store($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue