From 5794f34cc6893e113cd93cbd3d784984fe730f88 Mon Sep 17 00:00:00 2001 From: Leo Feyer Date: Mon, 17 Nov 2014 14:23:48 +0100 Subject: [PATCH] Add an empty option to the image size select menu (see #7436) --- src/Resources/contao/dca/tl_calendar_events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/contao/dca/tl_calendar_events.php b/src/Resources/contao/dca/tl_calendar_events.php index 7c45a1d132..1b75d9352d 100644 --- a/src/Resources/contao/dca/tl_calendar_events.php +++ b/src/Resources/contao/dca/tl_calendar_events.php @@ -311,7 +311,7 @@ 'inputType' => 'imageSize', 'options' => System::getImageSizes(), 'reference' => &$GLOBALS['TL_LANG']['MSC'], - 'eval' => array('rgxp'=>'digit', 'nospace'=>true, 'helpwizard'=>true, 'tl_class'=>'w50'), + 'eval' => array('rgxp'=>'natural', 'includeBlankOption'=>true, 'nospace'=>true, 'helpwizard'=>true, 'tl_class'=>'w50'), 'sql' => "varchar(64) NOT NULL default ''" ), 'imagemargin' => array