From f2abae719e1640cf3e79f98286671945fee4281a Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 8 Oct 2008 00:50:03 +0000 Subject: [PATCH] BUGFIX Member->getCMSFields() should use scaffoldCMSFields() instead of scaffoldFormFields() - currently it is operating in the wrong context. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63797 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/Member.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/Member.php b/security/Member.php index c6a9fa316..dfa422292 100644 --- a/security/Member.php +++ b/security/Member.php @@ -910,7 +910,7 @@ class Member extends DataObject { * editing this member. */ public function getCMSFields() { - $fields = parent::scaffoldFormFields(); + $fields = parent::scaffoldCMSFields(); $password = new ConfirmedPasswordField('Password', 'Password'); $password->setCanBeEmpty(true);