diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-02-22 17:03:41 -0800 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-02-22 17:03:41 -0800 |
commit | 8e0508dad3bb888b0c01834614b1aa7e16cfe583 (patch) | |
tree | 04f2734597377942fbbfc5b4f133e951ccc645a5 /lib/openid.php | |
parent | cdab8d55a96b61ce6cfbec697d95e3223751fd3f (diff) | |
parent | da532bae9131b6dec8f5c0d67ce77c4ad1736f7d (diff) |
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'lib/openid.php')
-rw-r--r-- | lib/openid.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/openid.php b/lib/openid.php index 860573702..5c3d460da 100644 --- a/lib/openid.php +++ b/lib/openid.php @@ -64,6 +64,9 @@ function oid_set_last($openid_url) function oid_get_last() { + if (empty($_COOKIE[OPENID_COOKIE_KEY])) { + return null; + } $openid_url = $_COOKIE[OPENID_COOKIE_KEY]; if ($openid_url && strlen($openid_url) > 0) { return $openid_url; |