IcingaObject: fix c&p error, variable name

This commit is contained in:
Thomas Gelf 2016-05-20 09:23:48 +02:00
parent 9eb9d65bef
commit b3a1d54870

View File

@ -576,7 +576,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
if (is_array($this->getKeyName())) {
// Affects services only:
return self::load(
array('object_name' => $import),
array('object_name' => $name),
$this->connection
);
} else {