Revision: 1981
Author: olavmrk
Date: Wed Nov 11 00:13:28 2009
Log: Utilities: Fix getDefaultEndpoint.
http://code.google.com/p/simplesamlphp/source/detail?r=1981

Modified:
  /trunk/lib/SimpleSAML/Utilities.php

=======================================
--- /trunk/lib/SimpleSAML/Utilities.php Wed Nov  4 23:31:13 2009
+++ /trunk/lib/SimpleSAML/Utilities.php Wed Nov 11 00:13:28 2009
@@ -2128,7 +2128,7 @@

                /* 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;
                        }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to