From 74825489669196e9f07fec082ec2aed688ff0a5e Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 4 Dec 2013 12:07:57 +0100 Subject: [PATCH] Fix: display_name property doesn't work for hosts. Fixes #5258 --- lib/db_ido/hostdbobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db_ido/hostdbobject.cpp b/lib/db_ido/hostdbobject.cpp index 90a2fb3d0..b916687c3 100644 --- a/lib/db_ido/hostdbobject.cpp +++ b/lib/db_ido/hostdbobject.cpp @@ -53,7 +53,7 @@ Dictionary::Ptr HostDbObject::GetConfigFields(void) const } fields->Set("alias", attrs->Get("alias")); - fields->Set("display_name", attrs->Get("display_name")); + fields->Set("display_name", host->GetDisplayName()); fields->Set("address", attrs->Get("address")); fields->Set("address6", attrs->Get("address6"));