From 54de78898404a51257ef5bbb45ec3f6b2bfcf15d Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 4 Jan 2008 03:00:33 +0000 Subject: [PATCH] Reversed isset() change which was causing some side effects git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47595 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/Security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/Security.php b/security/Security.php index 536b06812..b532673db 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 = isset($messageSet['alreadyLoggedIn']) + $message = $messageSet['alreadyLoggedIn'] ? $messageSet['alreadyLoggedIn'] : $messageSet['default'];