diff --git a/core/model/fieldtypes/Year.php b/core/model/fieldtypes/Year.php index 8dc6a06c9..48861341c 100644 --- a/core/model/fieldtypes/Year.php +++ b/core/model/fieldtypes/Year.php @@ -13,7 +13,7 @@ class Year extends DBField { function requireField() { - $parts=Array('datatype'=>'year', 'precision'=>4); + $parts=Array('datatype'=>'year', 'precision'=>4, 'arrayValue'=>$this->arrayValue); $values=Array('type'=>'year', 'parts'=>$parts); DB::requireField($this->tableName, $this->name, $values); }