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
This commit is contained in:
Sean Harvey 2008-11-20 21:02:29 +00:00 committed by Sam Minnee
parent a9bc9c6845
commit e50b7369b7

View File

@ -119,7 +119,7 @@ class MemberLoginForm extends LoginForm {
Session::clear("BackURL"); Session::clear("BackURL");
Director::redirect($backURL); Director::redirect($backURL);
} else { } else {
$member=Member::CurrentUser(); $member = Member::currentUser();
$firstname = Convert::raw2xml($member->FirstName); $firstname = Convert::raw2xml($member->FirstName);
Session::set("Security.Message.message", Session::set("Security.Message.message",
sprintf(_t('Member.WELCOMEBACK', "Welcome Back, %s"), $firstname) sprintf(_t('Member.WELCOMEBACK', "Welcome Back, %s"), $firstname)