From 06fc40295cb719e7323f65d55de4ffd17af6d170 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Mon, 9 Oct 2017 14:20:18 +0200 Subject: [PATCH] Fix default layer. --- src/Resources/contao/dca/tl_leaflet_layer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/contao/dca/tl_leaflet_layer.php b/src/Resources/contao/dca/tl_leaflet_layer.php index 1df4aa5..50d0f30 100644 --- a/src/Resources/contao/dca/tl_leaflet_layer.php +++ b/src/Resources/contao/dca/tl_leaflet_layer.php @@ -457,7 +457,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = [ 'exclude' => true, 'inputType' => 'select', 'options_callback' => ['netzmacht.contao_leaflet_maps.listeners.dca.leaflet', 'getZoomLevels'], - 'default' => '', + 'default' => null, 'eval' => [ 'maxlength' => 4, 'rgxp' => 'digit',