ido: Implement timeperiod config attributes.

This commit is contained in:
Gunnar Beutner 2013-08-05 10:06:19 +02:00
parent 7daf6b46c0
commit 7aef2e75df
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@ TimePeriodDbObject::TimePeriodDbObject(const DbType::Ptr& type, const String& na
Dictionary::Ptr TimePeriodDbObject::GetConfigFields(void) const
{
Dictionary::Ptr fields = boost::make_shared<Dictionary>();
TimePeriod::Ptr user = static_pointer_cast<TimePeriod>(GetObject());
TimePeriod::Ptr tp = static_pointer_cast<TimePeriod>(GetObject());
fields->Set("alias", Empty);
fields->Set("alias", tp->GetDisplayName());
return fields;
}