public function clean()
{
foreach ($this->fields as $name=>$field) {
- $field->LateClean(&$this->data, &$this->cleaned_data);
+ $field->LateClean($this->data, $this->cleaned_data);
}
return $this->cleaned_data;
}
return $value;
}
- function LateClean($data, $cleaned_data){
+ function LateClean($data, &$cleaned_data){
}
protected function getWidget(){
}
}
- function LateClean($data, $cleaned_data){
+ function LateClean($data, &$cleaned_data){
foreach($this->_models as &$m){
$cleaned_data[$m['field']] = $data[$m['field']];
}