Skip to content

Commit

Permalink
Fix variable name mismatch
Browse files Browse the repository at this point in the history
Fixes SAML-Toolkits#130 - variable name mismatch causing php warnings sent before http headers
  • Loading branch information
kshaner authored Mar 14, 2022
1 parent e0e1e68 commit dbdd8fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onelogin-saml-sso/php/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit dbdd8fd

Please sign in to comment.