diff options
author | Marco Ceppi <marco@ceppi.net> | 2012-07-31 12:17:13 -0700 |
---|---|---|
committer | Marco Ceppi <marco@ceppi.net> | 2012-07-31 12:17:13 -0700 |
commit | 705d5a68b85cb9c737e55c12838ff1fbfb0b789e (patch) | |
tree | 1d0c59ef60f1025ff37543fc45a66a16e2f17c22 /Auth/OpenID/Consumer.php | |
parent | d4e5efe47228c87fcc0933f7431bd6ac4498b340 (diff) | |
parent | bb6da3326a330b2d4dd235a23316d23bc5569016 (diff) | |
download | php-openid-705d5a68b85cb9c737e55c12838ff1fbfb0b789e.zip php-openid-705d5a68b85cb9c737e55c12838ff1fbfb0b789e.tar.gz php-openid-705d5a68b85cb9c737e55c12838ff1fbfb0b789e.tar.bz2 |
Merge pull request #70 from arnaud-lb/fix-call-time-pass-by-ref
Remove call-time pass-by-reference
Diffstat (limited to 'Auth/OpenID/Consumer.php')
-rw-r--r-- | Auth/OpenID/Consumer.php | 8 |
1 files changed, 5 insertions, 3 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, |