Skip to content

Commit

Permalink
[SS-2016-013] FIX Uncasted member name
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensby authored and Damian Mooyman committed Aug 15, 2016
1 parent 6d41db7 commit 83e3302
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions security/Member.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 83e3302

Please sign in to comment.