Skip to content
Snippets Groups Projects
Commit 7045e71b authored by Hans Zandbelt's avatar Hans Zandbelt
Browse files

fix typo

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1710 44740490-163a-0410-bde0-09ae8108e29a
parent 3796a81e
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ function ADFS_GenerateResponse($issuer, $target, $nameid, $attributes) {
$hasValue = FALSE;
$r = '<saml:Attribute AttributeNamespace="http://schemas.xmlsoap.org/claims" AttributeName="' . htmlspecialchars($name) .'">';
foreach ($values as $value) {
if (isset($value) or ($value !== '')) continue;
if ( (!isset($value)) or ($value === '')) continue;
$r .= '<saml:AttributeValue>' . htmlspecialchars($value) . '</saml:AttributeValue>';
$hasValue = TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment