From 2c8bb6751b2559f3e8a423d812567f9d0fbd1868 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Fri, 27 May 2011 10:20:13 +0000 Subject: [PATCH] multiauth: Minor indentation fix. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2854 44740490-163a-0410-bde0-09ae8108e29a --- modules/multiauth/lib/Auth/Source/MultiAuth.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/multiauth/lib/Auth/Source/MultiAuth.php b/modules/multiauth/lib/Auth/Source/MultiAuth.php index 169dbf74d..d54ee15c8 100644 --- a/modules/multiauth/lib/Auth/Source/MultiAuth.php +++ b/modules/multiauth/lib/Auth/Source/MultiAuth.php @@ -81,13 +81,13 @@ class sspmod_multiauth_Auth_Source_MultiAuth extends SimpleSAML_Auth_Source { saved state array as a parameter to the login form */ $url = SimpleSAML_Module::getModuleURL('multiauth/selectsource.php'); $params = array('AuthState' => $id); - - // Allowes the user to specify the auth souce to be used - if(isset($_GET['source'])) { - $params['source'] = $_GET['source']; - } - - SimpleSAML_Utilities::redirect($url, $params); + + // Allowes the user to specify the auth souce to be used + if(isset($_GET['source'])) { + $params['source'] = $_GET['source']; + } + + SimpleSAML_Utilities::redirect($url, $params); /* The previous function never returns, so this code is never executed */ -- GitLab