diff --git a/core/model/fieldtypes/Boolean.php b/core/model/fieldtypes/Boolean.php index 6868c4aad..56ee72e9f 100644 --- a/core/model/fieldtypes/Boolean.php +++ b/core/model/fieldtypes/Boolean.php @@ -13,7 +13,7 @@ class Boolean extends DBField { } function requireField() { - $parts=Array('datatype'=>'tinyint', 'precision'=>1, 'sign'=>'unsigned', 'null'=>'not null', 'default'=>$this->defaultVal); + $parts=Array('datatype'=>'tinyint', 'precision'=>1, 'sign'=>'unsigned', 'null'=>'not null', 'default'=>$this->defaultVal, 'arrayValue'=>$this->arrayValue); $values=Array('type'=>'boolean', 'parts'=>$parts); DB::requireField($this->tableName, $this->name, $values); }