Cli\ObjectCommand: fix type lookup for groups

fixes #12319
This commit is contained in:
Thomas Gelf 2016-08-05 14:44:57 +00:00
parent 89d8536a92
commit 50c67ceda2
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ class ObjectCommand extends Command
protected function load($name)
{
return IcingaObject::loadByType(
$this->getType(),
lcfirst($this->getType()),
$name,
$this->db()
);