mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
DbObject: make sure we fetch unresolved relations
This commit is contained in:
parent
3be31ee247
commit
fad7592eb9
@ -397,7 +397,12 @@ abstract class DbObject
|
||||
*/
|
||||
public function getProperties()
|
||||
{
|
||||
return $this->properties;
|
||||
$res = array();
|
||||
foreach ($this->listProperties() as $key) {
|
||||
$res[$key] = $this->get($key);
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
public function listProperties()
|
||||
|
Loading…
x
Reference in New Issue
Block a user