From e50b7369b7595e026ad185de46557f141fc87b93 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 20 Nov 2008 21:02:29 +0000 Subject: [PATCH] BUGFIX Fixed call to incorrect case of function name, Member::currentUser() should be used MINOR Code conventions (spaces should be between operator characters) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@66317 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/MemberLoginForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/MemberLoginForm.php b/security/MemberLoginForm.php index 300d11680..bd30b4648 100644 --- a/security/MemberLoginForm.php +++ b/security/MemberLoginForm.php @@ -119,7 +119,7 @@ class MemberLoginForm extends LoginForm { Session::clear("BackURL"); Director::redirect($backURL); } else { - $member=Member::CurrentUser(); + $member = Member::currentUser(); $firstname = Convert::raw2xml($member->FirstName); Session::set("Security.Message.message", sprintf(_t('Member.WELCOMEBACK', "Welcome Back, %s"), $firstname)