diff --git a/lib/icinga/apiactions.cpp b/lib/icinga/apiactions.cpp index 6e9fddd4d..3892de776 100644 --- a/lib/icinga/apiactions.cpp +++ b/lib/icinga/apiactions.cpp @@ -494,7 +494,7 @@ Dictionary::Ptr ApiActions::ScheduleDowntime(const ConfigObject::Ptr& object, << "Scheduling downtime for child object " << child->GetName(); Downtime::Ptr childDowntime = Downtime::AddDowntime(child, author, comment, startTime, endTime, - fixed, trigger, duration); + fixed, trigger, duration, String(), String(), downtimeName); String childDowntimeName = childDowntime->GetName(); Log(LogNotice, "ApiActions")