mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
merge 4.0 into 4.1
This commit is contained in:
commit
eea6572ac1
@ -42,10 +42,10 @@ class UserFormRecipientItemRequest extends GridFieldDetailForm_ItemRequest
|
|||||||
|
|
||||||
foreach ($fields as $field) {
|
foreach ($fields as $field) {
|
||||||
$data->push(new ArrayData(array(
|
$data->push(new ArrayData(array(
|
||||||
'Name' => $field->Name,
|
'Name' => $field->dbObject('Name'),
|
||||||
'Title' => $field->Title,
|
'Title' => $field->dbObject('Title'),
|
||||||
'Value' => '$' . $field->Name,
|
'Value' => DBField::create_field('Varchar', '$' . $field->Name),
|
||||||
'FormattedValue' => '$' . $field->Name
|
'FormattedValue' => DBField::create_field('Varchar', '$' . $field->Name)
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user