From db38851d7b9eda4d5cd6c75a607a66c20ee22188 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Tue, 22 Sep 2009 07:43:57 +0000 Subject: [PATCH] saml2/sp/initSSO.php: Handle IsPassive parameter properly git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1768 44740490-163a-0410-bde0-09ae8108e29a --- www/saml2/sp/initSSO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/saml2/sp/initSSO.php b/www/saml2/sp/initSSO.php index fecc8f4f4..1dad4aa0e 100644 --- a/www/saml2/sp/initSSO.php +++ b/www/saml2/sp/initSSO.php @@ -99,7 +99,7 @@ try { $ar->setRelayState($_REQUEST['RelayState']); if (isset($_GET['IsPassive'])) { - $ar->setIsPassive($_GET['IsPassive']); + $ar->setIsPassive((bool)$_GET['IsPassive']); } /* Save request information. */ -- GitLab