mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
MINOR Using DataObject::database_fields() instead of Member->db() in MemberTableField? to determine all CSV fields, in order to include fields like Created.
This commit is contained in:
parent
7c863341ea
commit
7ca05c6160
@ -63,7 +63,7 @@ class MemberTableField extends ComplexTableField {
|
||||
$sourceClass = self::$data_class;
|
||||
$SNG_member = singleton($sourceClass);
|
||||
$fieldList = $SNG_member->summaryFields();
|
||||
$memberDbFields = $SNG_member->db();
|
||||
$memberDbFields = DataObject::database_fields('Member');
|
||||
$csvFieldList = array();
|
||||
|
||||
foreach($memberDbFields as $field => $dbFieldType) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user