mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
call $this->extend('updateFieldLabels', $labels) in FieldLabels() to get its decorator's customized field labels
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64814 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8abb5b020f
commit
2c4edddd1b
@ -868,7 +868,7 @@ class Member extends DataObject {
|
||||
$labels['Email'] = _t('Member.EMAIL');
|
||||
$labels['FirstName'] = _t('Member.FIRSTNAME');
|
||||
$labels['FirstName'] = _t('Member.FIRSTNAME');
|
||||
|
||||
$this->extend('updateFieldLabels', $labels);
|
||||
return $labels;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user