]> granicus.if.org Git - icinga2/commitdiff
Fix missing comment_data column in downtime tables.
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 9 Dec 2013 12:20:46 +0000 (13:20 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 9 Dec 2013 12:30:13 +0000 (13:30 +0100)
Fixes #5282

lib/db_ido/servicedbobject.cpp

index 4b32938b854d80a914998d4e9d690b34e5db8903..d90d44897ac8230e0767d7f3a3977d038010b9e3 100644 (file)
@@ -550,6 +550,7 @@ void ServiceDbObject::AddDowntimeByType(const DynamicObject::Ptr& object, const
        }
 
        fields1->Set("author_name", downtime->GetAuthor());
+       fields1->Set("comment_data", downtime->GetComment());
        fields1->Set("triggered_by_id", Service::GetDowntimeByID(downtime->GetTriggeredBy()));
        fields1->Set("is_fixed", downtime->GetFixed());
        fields1->Set("duration", downtime->GetDuration());