diff options
author | tailor <chowells@janrain.com> | 2008-06-04 23:52:51 +0000 |
---|---|---|
committer | tailor <chowells@janrain.com> | 2008-06-04 23:52:51 +0000 |
commit | 46953d0dacd845d1b5b62ebd6a8460269d38a092 (patch) | |
tree | 29c85e1e93d34f3e43610a3408d22d926acb8985 /Auth/OpenID | |
parent | 7c31c1e1493b98985a3a58830ed47dc9884cc885 (diff) | |
download | php-openid-46953d0dacd845d1b5b62ebd6a8460269d38a092.zip php-openid-46953d0dacd845d1b5b62ebd6a8460269d38a092.tar.gz php-openid-46953d0dacd845d1b5b62ebd6a8460269d38a092.tar.bz2 |
[project @ #229 Server.php: test hasReturnTo() when message=null]
Diffstat (limited to 'Auth/OpenID')
-rw-r--r-- | Auth/OpenID/Server.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Auth/OpenID/Server.php b/Auth/OpenID/Server.php index f390945..e43ccc4 100644 --- a/Auth/OpenID/Server.php +++ b/Auth/OpenID/Server.php @@ -164,7 +164,7 @@ class Auth_OpenID_ServerError { return $this->message->getArg(Auth_OpenID_OPENID_NS, 'return_to'); } else { - return false; + return null; } } @@ -174,7 +174,7 @@ class Auth_OpenID_ServerError { */ function hasReturnTo() { - return $this->getReturnTo() !== false; + return $this->getReturnTo() !== null; } /** |