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',
|
'Email',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @config
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
private static $summary_fields = array(
|
private static $summary_fields = array(
|
||||||
'FirstName',
|
'FirstName',
|
||||||
'Surname',
|
'Surname',
|
||||||
'Email',
|
'Email',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @config
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
private static $casting = array(
|
||||||
|
'Name' => 'Varchar',
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal-use only fields
|
* Internal-use only fields
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user