mirror of https://github.com/Icinga/icinga2.git
parent
06f02f8b10
commit
3ea71e82c5
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue