From 1134008765a671bb01be7223b09e44ade8f1274b Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 24 Sep 2009 08:38:14 +0000 Subject: [PATCH] SingleLogoutServiceiFrame: Show list of SPs when no SPs with a logout endpoint is configured. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1779 44740490-163a-0410-bde0-09ae8108e29a --- www/saml2/idp/SingleLogoutServiceiFrame.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/saml2/idp/SingleLogoutServiceiFrame.php b/www/saml2/idp/SingleLogoutServiceiFrame.php index 2a8a50b0b..b394474d5 100644 --- a/www/saml2/idp/SingleLogoutServiceiFrame.php +++ b/www/saml2/idp/SingleLogoutServiceiFrame.php @@ -344,7 +344,7 @@ try { /* * If the user is not logged into any other SPs, send the LogoutResponse immediately */ - if (count($sparray) === 0) { + if (count($sparray) + count($sparrayNoLogout) === 0) { $httpredirect->setDestination(sspmod_SAML2_Message::getDebugDestination()); $httpredirect->send($rg); } else { -- GitLab