diff --git a/security/Security.php b/security/Security.php index b532673db..536b06812 100644 --- a/security/Security.php +++ b/security/Security.php @@ -124,7 +124,7 @@ class Security extends Controller { if(Member::currentUserID()) { // user_error( 'PermFailure with member', E_USER_ERROR ); - $message = $messageSet['alreadyLoggedIn'] + $message = isset($messageSet['alreadyLoggedIn']) ? $messageSet['alreadyLoggedIn'] : $messageSet['default'];