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