diff --git a/Auth/OpenID/Server.php b/Auth/OpenID/Server.php
index <HASH>..<HASH> 100644
--- a/Auth/OpenID/Server.php
+++ b/Auth/OpenID/Server.php
@@ -188,7 +188,8 @@ class Auth_OpenID_ServerError {
             return null;
         }
 
-        return $this->toMessage()->toURL($this->getReturnTo());
+        $msg = $this->toMessage();
+        return $msg->toURL($this->getReturnTo());
     }
 
     /**
@@ -206,7 +207,8 @@ class Auth_OpenID_ServerError {
 
     function toFormMarkup()
     {
-        return $this->toMessage()->toFormMarkup($this->getReturnTo());
+        $msg = $this->toMessage();
+        return $msg->toFormMarkup($this->getReturnTo());
     }
 
     function toMessage()
[project @ Fix PHP4-unfriendly syntax]