From: Michael Friedrich Date: Mon, 9 Dec 2013 12:20:46 +0000 (+0100) Subject: Fix missing comment_data column in downtime tables. X-Git-Tag: v0.0.6~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=085fca90adcc0674822e4bedade60288249f66ca;p=icinga2 Fix missing comment_data column in downtime tables. Fixes #5282 --- diff --git a/lib/db_ido/servicedbobject.cpp b/lib/db_ido/servicedbobject.cpp index 4b32938b8..d90d44897 100644 --- a/lib/db_ido/servicedbobject.cpp +++ b/lib/db_ido/servicedbobject.cpp @@ -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());