MINOR: restored deleted action

This commit is contained in:
Will Rossiter 2009-04-19 23:26:43 +00:00
parent 703a62cd7f
commit d4d53acf40

View File

@ -380,11 +380,15 @@ class UserDefinedForm_Controller extends Page_Controller {
$submittedField->Value = "";
}
$submittedField->write();
}
}
break;
}
}
elseif($field->hasMethod('getValueFromData')) {
$values[$field->Title] = Convert::linkIfMatch($field->getValueFromData($data));
} else {
if(isset($data[$field->Name])) $values[$field->Title] = Convert::linkIfMatch($data[$field->Name]);
}
}
$emailData = array(
"Sender" => Member::currentUser(),