summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-02-05 21:19:34 +0000
committertailor <cygnus@janrain.com>2007-02-05 21:19:34 +0000
commit2e758e68eb03ea8bee49c72c790fa3a782641384 (patch)
treebebbaf14252fadbaaa6ef0ac719560ab51f3d1d3
parentb71f297b3c7ef13e1ae2f608ad47c65b3312e629 (diff)
downloadphp-openid-2e758e68eb03ea8bee49c72c790fa3a782641384.zip
php-openid-2e758e68eb03ea8bee49c72c790fa3a782641384.tar.gz
php-openid-2e758e68eb03ea8bee49c72c790fa3a782641384.tar.bz2
[project @ Fix reference-passing for PHP 4]
-rw-r--r--Auth/OpenID/Server.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Auth/OpenID/Server.php b/Auth/OpenID/Server.php
index 6c60d56..5a0ff54 100644
--- a/Auth/OpenID/Server.php
+++ b/Auth/OpenID/Server.php
@@ -663,7 +663,7 @@ class Auth_OpenID_CheckIDRequest extends Auth_OpenID_Request {
function Auth_OpenID_CheckIDRequest($identity, $return_to,
$trust_root = null, $immediate = false,
- $assoc_handle = null, $server = null)
+ $assoc_handle = null, &$server = null)
{
$this->namespace = Auth_OpenID_OPENID2_NS;
$this->assoc_handle = $assoc_handle;
@@ -671,7 +671,7 @@ class Auth_OpenID_CheckIDRequest extends Auth_OpenID_Request {
$this->claimed_id = $identity;
$this->return_to = $return_to;
$this->trust_root = $trust_root;
- $this->server = $server;
+ $this->server =& $server;
if ($immediate) {
$this->immediate = true;