Skip to content

Commit 8f98800

Browse files
author
Lilli
committed
Added the following patch from the [email protected] mailing list:
http://lists.openidenabled.com/pipermail/dev/attachments/20090113/8ed067b3/attachment.bin Original Message: will at willnorris.com will at willnorris.com Sun Jan 4 11:27:26 PST 2009 darcs patch: I'm not entirely sure which versions of PHP are having... "I've had a number of users report that $this->store is incorrectly evaluating to false, thereby preventing associations from being used. I've been unable to reproduce this myself, but the change is minor enough." This patch was in the form of a Darcs patch, not a normal patch. So solve this, I applied it to the Darcs repository found on openidenabled, then created a new diff file between the original Darcs repo and the new one (with the patch applied) so that I could apply it to this git repo. All hunks were applied successfully.
1 parent 7521906 commit 8f98800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Auth/OpenID/Consumer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ function Auth_OpenID_GenericConsumer(&$store)
615615
{
616616
$this->store =& $store;
617617
$this->negotiator =& Auth_OpenID_getDefaultNegotiator();
618-
$this->_use_assocs = ($this->store ? true : false);
618+
$this->_use_assocs = (is_null($this->store) ? false : true);
619619

620620
$this->fetcher = Auth_Yadis_Yadis::getHTTPFetcher();
621621

0 commit comments

Comments
 (0)