From 0fab54402cea39540301f97e315cc66ea9dafab6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Wed, 19 Nov 2008 11:16:23 +0000
Subject: [PATCH] Fix bug in janrain openid library error reporting...

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1019 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/Auth/OpenID/Consumer.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Auth/OpenID/Consumer.php b/lib/Auth/OpenID/Consumer.php
index d75b842d3..c1a05eeb1 100644
--- a/lib/Auth/OpenID/Consumer.php
+++ b/lib/Auth/OpenID/Consumer.php
@@ -1073,7 +1073,7 @@ class Auth_OpenID_GenericConsumer {
             $result = $this->_verifyDiscoverySingle($endpoint, $to_match);
 
             if (Auth_OpenID::isFailure($result)) {
-                $failure_messages->append($result);
+                $failure_messages[] = $result;
             } else {
                 // It matches, so discover verification has
                 // succeeded. Return this endpoint.
-- 
GitLab