mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MINOR: restored deleted action
This commit is contained in:
parent
703a62cd7f
commit
d4d53acf40
@ -381,10 +381,14 @@ class UserDefinedForm_Controller extends Page_Controller {
|
||||
}
|
||||
$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(),
|
||||
|
Loading…
Reference in New Issue
Block a user