]> granicus.if.org Git - icinga2/commitdiff
Fix incorrect field type for the Type.base field
authorGunnar Beutner <gunnar@beutner.name>
Wed, 26 Aug 2015 09:00:05 +0000 (11:00 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Wed, 26 Aug 2015 09:00:05 +0000 (11:00 +0200)
refs #9076

lib/base/type.cpp

index 67ca66f3ee4b14ba10eb4ca9d151fe8d10dca012..845d113af2604cc8e1c5a7df4d7dec2195dc13b6 100644 (file)
@@ -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.");
 }