diff --git a/www/saml2/idp/SingleLogoutServiceiFrame.php b/www/saml2/idp/SingleLogoutServiceiFrame.php index 2a8a50b0ba854a84aed5cab379a04b1a5f151408..b394474d577a1ccdb775e3fc5739c2f2e7baa2ed 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 {