aboutsummaryrefslogtreecommitdiffstats
path: root/includes/extauth
diff options
context:
space:
mode:
authorChad Horohoe <demon@users.mediawiki.org>2010-08-10 13:30:46 +0000
committerChad Horohoe <demon@users.mediawiki.org>2010-08-10 13:30:46 +0000
commit83e99164284773fec46fb8a417eba1f132807de3 (patch)
treeaf6721af115d4492e5566ab59c4203dbadb39b5b /includes/extauth
parent55d5a6c9a2df23057d9f194b56abc42033847a55 (diff)
downloadmediawikicore-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.php2
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;
}