mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-03 20:40:17 -05:00
TimePeriod: properly validate ranges field
This commit is contained in:
parent
35fdea8805
commit
017a4012f3
1 changed files with 2 additions and 0 deletions
|
|
@ -372,6 +372,8 @@ void TimePeriod::Dump()
|
|||
|
||||
void TimePeriod::ValidateRanges(const Lazy<Dictionary::Ptr>& lvalue, const ValidationUtils& utils)
|
||||
{
|
||||
ObjectImpl::ValidateRanges(lvalue, utils);
|
||||
|
||||
if (!lvalue())
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue