Skip to content
Snippets Groups Projects
Commit 0a8cfad3 authored by Olav Morken's avatar Olav Morken
Browse files

Utilities: Fix getDefaultEndpoint.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1981 44740490-163a-0410-bde0-09ae8108e29a
parent 9ca3092b
No related branches found
No related tags found
No related merge requests found
......@@ -2128,7 +2128,7 @@ class SimpleSAML_Utilities {
/* Look through the endpoint list for acceptable endpoints. */
foreach ($endpoints as $i => $ep) {
if ($bindings !== NULL && !in_array($ep['Binding'], $ep, TRUE)) {
if ($bindings !== NULL && !in_array($ep['Binding'], $bindings, TRUE)) {
/* Unsupported binding. Skip it. */
continue;
}
......
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