diff options
author | Chad Horohoe <demon@users.mediawiki.org> | 2010-08-10 13:30:46 +0000 |
---|---|---|
committer | Chad Horohoe <demon@users.mediawiki.org> | 2010-08-10 13:30:46 +0000 |
commit | 83e99164284773fec46fb8a417eba1f132807de3 (patch) | |
tree | af6721af115d4492e5566ab59c4203dbadb39b5b /includes/extauth | |
parent | 55d5a6c9a2df23057d9f194b56abc42033847a55 (diff) | |
download | mediawikicore-83e99164284773fec46fb8a417eba1f132807de3.tar.gz mediawikicore-83e99164284773fec46fb8a417eba1f132807de3.zip |
Cleanup r70571, more strict checks for getCookie() return values
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/70814
Diffstat (limited to 'includes/extauth')
-rw-r--r-- | includes/extauth/vB.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/extauth/vB.php b/includes/extauth/vB.php index 1b015bae77d8..860048f3fde4 100644 --- a/includes/extauth/vB.php +++ b/includes/extauth/vB.php @@ -61,7 +61,7 @@ class ExternalUser_vB extends ExternalUser { } else { $prefix = $wgExternalAuthConf['cookieprefix']; } - if ( !$wgRequest->getCookie( 'sessionhash', $prefix ) ) { + if ( $wgRequest->getCookie( 'sessionhash', $prefix ) === null ) { return false; } |