diff options
Diffstat (limited to 'Auth/OpenID')
-rw-r--r-- | Auth/OpenID/Consumer.php | 8 | ||||
-rw-r--r-- | Auth/OpenID/Server.php | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php index bffed4d..d562e33 100644 --- a/Auth/OpenID/Consumer.php +++ b/Auth/OpenID/Consumer.php @@ -1183,9 +1183,11 @@ class Auth_OpenID_GenericConsumer { function _discoverAndVerify($claimed_id, $to_match_endpoints) { // oidutil.log('Performing discovery on %s' % (claimed_id,)) - list($unused, $services) = call_user_func($this->discoverMethod, - $claimed_id, - &$this->fetcher); + list($unused, $services) = call_user_func_array($this->discoverMethod, + array( + $claimed_id, + &$this->fetcher, + )); if (!$services) { return new Auth_OpenID_FailureResponse(null, diff --git a/Auth/OpenID/Server.php b/Auth/OpenID/Server.php index fb7cc39..8d8b686 100644 --- a/Auth/OpenID/Server.php +++ b/Auth/OpenID/Server.php @@ -1704,7 +1704,7 @@ class Auth_OpenID_Server { { if (method_exists($this, "openid_" . $request->mode)) { $handler = array($this, "openid_" . $request->mode); - return call_user_func($handler, &$request); + return call_user_func_array($handler, array(&$request)); } return null; } |