From c09a5440cad692a7657a6793d4229e02e8afbf62 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Mon, 14 Jan 2008 21:19:28 +0000 Subject: [PATCH] FIx php notice git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47975 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/Security.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/Security.php b/security/Security.php index 428062c5f..4d2d4df53 100644 --- a/security/Security.php +++ b/security/Security.php @@ -131,7 +131,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']; @@ -849,4 +849,4 @@ class Security extends Controller { } -?> \ No newline at end of file +?>