mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: use a undefined variable $member.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@66029 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b9115b8088
commit
3f154aaca1
@ -119,6 +119,7 @@ class MemberLoginForm extends LoginForm {
|
||||
Session::clear("BackURL");
|
||||
Director::redirect($backURL);
|
||||
} else {
|
||||
$member=Member::CurrentUser();
|
||||
$firstname = Convert::raw2xml($member->FirstName);
|
||||
Session::set("Security.Message.message",
|
||||
sprintf(_t('Member.WELCOMEBACK', "Welcome Back, %s"), $firstname)
|
||||
|
Loading…
x
Reference in New Issue
Block a user