Fetch mode.

This commit is contained in:
David Molineus
2017-10-09 14:11:39 +02:00
parent ac87bcf947
commit 756c28cdc6

View File

@@ -72,7 +72,7 @@ class MapDcaListener extends AbstractListener
$statement->bindValue('mid', $dataContainer->id);
if ($statement->execute()) {
return $statement->fetchAll(PDO::FETCH_ASSOC, PDO::FETCH_COLUMN, 0);
return $statement->fetchAll(PDO::FETCH_COLUMN, 0);
}
return [];