Fix missing comment_data column in downtime tables.

Fixes #5282
This commit is contained in:
Michael Friedrich 2013-12-09 13:20:46 +01:00
parent 3d7c103035
commit 085fca90ad
1 changed files with 1 additions and 0 deletions

View 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());