diff --git a/typo3/sysext/core/Classes/Database/QueryGenerator.php b/typo3/sysext/core/Classes/Database/QueryGenerator.php index 6a51433b2153ad24ad16c992a0c45abdff5c9248..3347e6dc2bff9deb2d627359459c0823d1fc9503 100644 --- a/typo3/sysext/core/Classes/Database/QueryGenerator.php +++ b/typo3/sysext/core/Classes/Database/QueryGenerator.php @@ -289,7 +289,7 @@ class QueryGenerator { } break; case 'check': - if (!$this->fields[$fieldName]['items']) { + if (!$this->fields[$fieldName]['items'] || count($this->fields[$fieldName]['items']) <= 1) { $this->fields[$fieldName]['type'] = 'boolean'; } else { $this->fields[$fieldName]['type'] = 'binary';