mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fixed PHP notice undefined index - $messageSet['alreadyLoggedIn']
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47593 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2ef6925cd1
commit
241969d97c
@ -124,7 +124,7 @@ class Security extends Controller {
|
|||||||
if(Member::currentUserID()) {
|
if(Member::currentUserID()) {
|
||||||
// user_error( 'PermFailure with member', E_USER_ERROR );
|
// user_error( 'PermFailure with member', E_USER_ERROR );
|
||||||
|
|
||||||
$message = $messageSet['alreadyLoggedIn']
|
$message = isset($messageSet['alreadyLoggedIn'])
|
||||||
? $messageSet['alreadyLoggedIn']
|
? $messageSet['alreadyLoggedIn']
|
||||||
: $messageSet['default'];
|
: $messageSet['default'];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user