mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
parent
3fd9a4c0de
commit
d2eed4fff3
@ -735,6 +735,9 @@ class Db extends DbConnection
|
||||
)->order('o.object_name');
|
||||
|
||||
$res = $this->db()->fetchCol($select);
|
||||
if (empty($res)) {
|
||||
return array();
|
||||
}
|
||||
|
||||
return array_combine($res, $res);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user