From 085fca90adcc0674822e4bedade60288249f66ca Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 9 Dec 2013 13:20:46 +0100 Subject: [PATCH] Fix missing comment_data column in downtime tables. Fixes #5282 --- lib/db_ido/servicedbobject.cpp | 1 + 1 file changed, 1 insertion(+) 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()); -- 2.40.0