IcingaTimePeriodRanges: fetch period id on store
This commit is contained in:
parent
9417d4881b
commit
8684824ddf
|
@ -182,6 +182,7 @@ class IcingaTimePeriodRanges implements Iterator, Countable, IcingaConfigRendere
|
||||||
public function store()
|
public function store()
|
||||||
{
|
{
|
||||||
foreach ($this->ranges as $range) {
|
foreach ($this->ranges as $range) {
|
||||||
|
$range->timeperiod_id = $this->object->id;
|
||||||
$range->store($this->object->getConnection());
|
$range->store($this->object->getConnection());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue