Fix save callback.

This commit is contained in:
David Molineus
2017-10-09 15:42:37 +02:00
parent 51fc784800
commit fab9b5a0ba

View File

@@ -151,6 +151,7 @@ class ControlDcaListener extends AbstractListener
$query = 'SELECT * FROM tl_leaflet_control_layer WHERE cid=:cid order BY sorting';
$statement = $this->connection->prepare($query);
$statement->bindValue('cid', $dataContainer->id);
$statement->execute();
while ($row = $statement->fetch()) {
$values[$row['lid']] = $row;