Fix handling of inactive layers.

This commit is contained in:
David Molineus committed 2015-01-09 23:48:25 +01:00
1 parent 2201c5015e
commit 1ebd3ef49b
4 files changed
+28 -2

No files matched your search

@@ -47,7 +47,7 @@ class LayersControlMapper extends AbstractControlMapper
$arguments[2] = array();
/** @var ControlModel $model */
$collection = $model->findLayers();
$collection = $model->findActiveLayers();
if ($collection) {
foreach ($collection as $layer) {