From 0a8cfad3da16d6f56c3ebd9905efae2a14b3ff75 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Wed, 11 Nov 2009 08:13:28 +0000 Subject: [PATCH] Utilities: Fix getDefaultEndpoint. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1981 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Utilities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Utilities.php b/lib/SimpleSAML/Utilities.php index ce173e73c..e270b0592 100644 --- a/lib/SimpleSAML/Utilities.php +++ b/lib/SimpleSAML/Utilities.php @@ -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; } -- GitLab