From dbdd8fd82f4c3ba86f326cbc2b6b0a46dad2a8da Mon Sep 17 00:00:00 2001 From: Kurtis Shaner Date: Mon, 14 Mar 2022 15:46:13 -0700 Subject: [PATCH] Fix variable name mismatch Fixes #130 - variable name mismatch causing php warnings sent before http headers --- onelogin-saml-sso/php/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onelogin-saml-sso/php/functions.php b/onelogin-saml-sso/php/functions.php index 17def48..bdcd5ff 100644 --- a/onelogin-saml-sso/php/functions.php +++ b/onelogin-saml-sso/php/functions.php @@ -178,8 +178,8 @@ function saml_slo() { $nameId = null; $sessionIndex = null; $nameIdFormat = null; - $samlNameIdNameQualifier = null; - $samlNameIdSPNameQualifier = null; + $nameIdNameQualifier = null; + $nameIdSPNameQualifier = null; if (isset($_COOKIE[SAML_NAMEID_COOKIE])) { $nameId = sanitize_text_field($_COOKIE[SAML_NAMEID_COOKIE]);