From 756c28cdc6429e7cd0e1d48014b634abed4ac544 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Mon, 9 Oct 2017 14:11:39 +0200 Subject: [PATCH] Fetch mode. --- src/Listener/Dca/MapDcaListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Listener/Dca/MapDcaListener.php b/src/Listener/Dca/MapDcaListener.php index a8f5037..a3af283 100644 --- a/src/Listener/Dca/MapDcaListener.php +++ b/src/Listener/Dca/MapDcaListener.php @@ -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 [];