From: Gunnar Beutner Date: Wed, 26 Aug 2015 09:00:05 +0000 (+0200) Subject: Fix incorrect field type for the Type.base field X-Git-Tag: v2.4.0~369 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ea71e82c56016ae22ade9e402747f01bb0a2f7b;p=icinga2 Fix incorrect field type for the Type.base field refs #9076 --- diff --git a/lib/base/type.cpp b/lib/base/type.cpp index 67ca66f3e..845d113af 100644 --- a/lib/base/type.cpp +++ b/lib/base/type.cpp @@ -165,7 +165,7 @@ Field TypeType::GetFieldInfo(int id) const if (id == 0) return Field(0, "Object", "prototype", NULL, 0, 0); else if (id == 1) - return Field(1, "Object", "base", NULL, 0, 0); + return Field(1, "Type", "base", NULL, 0, 0); throw std::runtime_error("Invalid field ID."); }