forked from Snck3rs/contao-leaflet-maps
Fetch mode.
This commit is contained in:
@@ -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 [];
|
||||
|
||||
Reference in New Issue
Block a user