Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Hotfix for the default value
  • Loading branch information
stefanheimes committed Dec 1, 2019
2 parents d4a0b33 + e80b026 commit b270a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contao/Widgets/MultiColumnWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b270a4f

Please sign in to comment.