diff --git a/lib/Auth/OpenID/Consumer.php b/lib/Auth/OpenID/Consumer.php
index d75b842d31a79f67d7da6d519075f75558d1356b..c1a05eeb13c8c91a27de12cf384c418d2bae7186 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.