From d0ebdd9b06dd2d0bcca0ddd21ecd8a5334f2425f Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 21 Mar 2016 10:09:03 +0100 Subject: [PATCH] ImportedrowsTable: return columns with correct keys --- application/tables/ImportedrowsTable.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/tables/ImportedrowsTable.php b/application/tables/ImportedrowsTable.php index ca054b78..bd327cb1 100644 --- a/application/tables/ImportedrowsTable.php +++ b/application/tables/ImportedrowsTable.php @@ -12,7 +12,8 @@ class ImportedrowsTable extends QuickTable public function getColumns() { $db = $this->connection(); - return $db->listImportedRowsetColumnNames($this->checksum); + $cols = $db->listImportedRowsetColumnNames($this->checksum); + return array_combine($cols, $cols); } public function setChecksum($checksum)