mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
a9bc9c6845
commit
e50b7369b7
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user