mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
[SS-2016-013] FIX Uncasted member name
This commit is contained in:
parent
2b30ade44d
commit
281b0de571
@ -118,12 +118,24 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
||||
'Email',
|
||||
);
|
||||
|
||||
/**
|
||||
* @config
|
||||
* @var array
|
||||
*/
|
||||
private static $summary_fields = array(
|
||||
'FirstName',
|
||||
'Surname',
|
||||
'Email',
|
||||
);
|
||||
|
||||
/**
|
||||
* @config
|
||||
* @var array
|
||||
*/
|
||||
private static $casting = array(
|
||||
'Name' => 'Varchar',
|
||||
);
|
||||
|
||||
/**
|
||||
* Internal-use only fields
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user