From 772c1136d4d6b0cb18cbd5715e71560448a9a1d3 Mon Sep 17 00:00:00 2001 From: Geoff Munn Date: Tue, 29 Sep 2009 22:00:27 +0000 Subject: [PATCH] API CHANGE: array data type now supported git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@87557 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/fieldtypes/Boolean.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }