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:
Normann Lou 2008-10-28 04:35:34 +00:00
parent 8abb5b020f
commit 2c4edddd1b

View File

@ -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;
}