mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
parent
06f02f8b10
commit
3ea71e82c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue