mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
IcingaObject: return null for missing relations
This commit is contained in:
parent
1cb47b6d32
commit
ce44252f8e
@ -141,6 +141,8 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||
$object = $class::loadWithAutoIncId($id, $this->connection);
|
||||
return $object->object_name;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
return parent::get($key);
|
||||
|
Loading…
x
Reference in New Issue
Block a user