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