Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
1d1ee858
Commit
1d1ee858
authored
Mar 18, 2019
by
Guy Halse
Browse files
Options
Downloads
Patches
Plain Diff
Fix logic error in UIInfo generation
parent
55e3ad19
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Metadata/SAMLParser.php
+5
-5
5 additions, 5 deletions
lib/SimpleSAML/Metadata/SAMLParser.php
with
5 additions
and
5 deletions
lib/SimpleSAML/Metadata/SAMLParser.php
+
5
−
5
View file @
1d1ee858
...
@@ -1089,8 +1089,8 @@ class SAMLParser
...
@@ -1089,8 +1089,8 @@ class SAMLParser
foreach
(
$e
->
getKeywords
()
as
$uiItem
)
{
foreach
(
$e
->
getKeywords
()
as
$uiItem
)
{
if
(
!
(
$uiItem
instanceof
\SAML2\XML\mdui\Keywords
)
if
(
!
(
$uiItem
instanceof
\SAML2\XML\mdui\Keywords
)
||
(
$uiItem
->
getKeywords
()
!
==
[])
||
(
$uiItem
->
getKeywords
()
=
==
[])
||
(
$uiItem
->
getLanguage
()
!
==
null
)
||
(
$uiItem
->
getLanguage
()
=
==
null
)
)
{
)
{
continue
;
continue
;
}
}
...
@@ -1098,9 +1098,9 @@ class SAMLParser
...
@@ -1098,9 +1098,9 @@ class SAMLParser
}
}
foreach
(
$e
->
getLogo
()
as
$uiItem
)
{
foreach
(
$e
->
getLogo
()
as
$uiItem
)
{
if
(
!
(
$uiItem
instanceof
\SAML2\XML\mdui\Logo
)
if
(
!
(
$uiItem
instanceof
\SAML2\XML\mdui\Logo
)
||
(
$uiItem
->
getUrl
()
!
==
null
)
||
(
$uiItem
->
getUrl
()
=
==
null
)
||
(
$uiItem
->
getHeight
()
!
==
null
)
||
(
$uiItem
->
getHeight
()
=
==
null
)
||
(
$uiItem
->
getWidth
()
!
==
null
)
||
(
$uiItem
->
getWidth
()
=
==
null
)
)
{
)
{
continue
;
continue
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment