mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
Db: fix default null property when fetching imports
This commit is contained in:
parent
5a5f2faa77
commit
7cdb44b1f9
@ -244,7 +244,7 @@ class Db extends DbConnection
|
||||
$result = array();
|
||||
$empty = (object) array();
|
||||
foreach ($columns as $k => $v) {
|
||||
$empty->$k = $v;
|
||||
$empty->$k = null;
|
||||
}
|
||||
|
||||
foreach ($db->fetchAll($query) as $row) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user