mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ImportedrowsTable: return columns with correct keys
This commit is contained in:
parent
07bb68b1d2
commit
d0ebdd9b06
@ -12,7 +12,8 @@ class ImportedrowsTable extends QuickTable
|
|||||||
public function getColumns()
|
public function getColumns()
|
||||||
{
|
{
|
||||||
$db = $this->connection();
|
$db = $this->connection();
|
||||||
return $db->listImportedRowsetColumnNames($this->checksum);
|
$cols = $db->listImportedRowsetColumnNames($this->checksum);
|
||||||
|
return array_combine($cols, $cols);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setChecksum($checksum)
|
public function setChecksum($checksum)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user