mirror of
https://github.com/Icinga/icinga2.git
synced 2025-11-24 07:33:40 +01:00
TimePeriod: properly validate ranges field
This commit is contained in:
parent
35fdea8805
commit
017a4012f3
@ -372,6 +372,8 @@ void TimePeriod::Dump()
|
|||||||
|
|
||||||
void TimePeriod::ValidateRanges(const Lazy<Dictionary::Ptr>& lvalue, const ValidationUtils& utils)
|
void TimePeriod::ValidateRanges(const Lazy<Dictionary::Ptr>& lvalue, const ValidationUtils& utils)
|
||||||
{
|
{
|
||||||
|
ObjectImpl::ValidateRanges(lvalue, utils);
|
||||||
|
|
||||||
if (!lvalue())
|
if (!lvalue())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user