diff options
author | Tim Preston <tim.preston@anusf.anu.edu.au> | 2010-05-07 11:18:41 +0800 |
---|---|---|
committer | lillialexis <lillialexis@gmail.com> | 2010-07-20 03:11:00 +0800 |
commit | 55b2d4e37deeb31b9e227d923652a657fc80ee4c (patch) | |
tree | c70181cadc13b5317156318bcf1cf843b2f18d58 /Auth/OpenID/Consumer.php | |
parent | b643228707f6ec4c793c82bd8f152ab31a4e0e23 (diff) | |
download | php-openid-55b2d4e37deeb31b9e227d923652a657fc80ee4c.zip php-openid-55b2d4e37deeb31b9e227d923652a657fc80ee4c.tar.gz php-openid-55b2d4e37deeb31b9e227d923652a657fc80ee4c.tar.bz2 |
fixed Parse::match() returning different types and cleaned call-by-ref warnings
Auth/OpenID/Parse.php
The match() function takes a reference parameter $match and, depending on execution flow, either returns that as an array or a string. This has been modified to now return an array in both cases.
Auth/OpenID/Consumer.php
Auth/Yadis/Manager.php
Fixed two function calls with explicit call-by-reference parameters.
Diffstat (limited to 'Auth/OpenID/Consumer.php')
-rw-r--r-- | Auth/OpenID/Consumer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php index 021c038..5e628d1 100644 --- a/Auth/OpenID/Consumer.php +++ b/Auth/OpenID/Consumer.php @@ -1181,7 +1181,7 @@ class Auth_OpenID_GenericConsumer { // oidutil.log('Performing discovery on %s' % (claimed_id,)) list($unused, $services) = call_user_func($this->discoverMethod, $claimed_id, - &$this->fetcher); + $this->fetcher); if (!$services) { return new Auth_OpenID_FailureResponse(null, |