From e80b026d6d5dcabc188f507638e0b9a0627d21d1 Mon Sep 17 00:00:00 2001 From: Ingolf Steinhardt Date: Wed, 27 Nov 2019 10:23:45 +0100 Subject: [PATCH] hotfix default value --- src/Contao/Widgets/MultiColumnWizard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contao/Widgets/MultiColumnWizard.php b/src/Contao/Widgets/MultiColumnWizard.php index f655f22c..eb810b96 100644 --- a/src/Contao/Widgets/MultiColumnWizard.php +++ b/src/Contao/Widgets/MultiColumnWizard.php @@ -1086,7 +1086,7 @@ protected function initializeWidget(&$arrField, $intRow, $strKey, $varValue) $arrField['activeRow'] = $intRow; $arrField['name'] = $this->strName . '[' . $intRow . '][' . $strKey . ']'; $arrField['id'] = $this->strId . '_row' . $intRow . '_' . $strKey; - $arrField['value'] = ($varValue !== '') ? $varValue : $arrField['default']; + $arrField['value'] = (null !== $varValue) ? $varValue : $arrField['default']; $arrField['eval']['tableless'] = true; $arrData = $this->handleDcGeneral($arrField, $strKey);