From fab9b5a0ba4637ab71dc4f2a1052000208bae0d9 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Mon, 9 Oct 2017 15:42:37 +0200 Subject: [PATCH] Fix save callback. --- src/Listener/Dca/ControlDcaListener.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Listener/Dca/ControlDcaListener.php b/src/Listener/Dca/ControlDcaListener.php index 403d572..2c10308 100644 --- a/src/Listener/Dca/ControlDcaListener.php +++ b/src/Listener/Dca/ControlDcaListener.php @@ -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;