diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-06-27 23:32:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-06-27 23:32:15 +0200 |
commit | bf0389a19ba0be16072cefc6c0117cfb84916423 (patch) | |
tree | 328106b4b287ed6ee8a8f7cad9103048d1635a6f /extensions/FunnyDot.php | |
parent | a4003750c3a8a4d94ed673cb21696569cd67ce37 (diff) |
BugFix
Diffstat (limited to 'extensions/FunnyDot.php')
-rw-r--r-- | extensions/FunnyDot.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/FunnyDot.php b/extensions/FunnyDot.php index 7cd00007..df81129e 100644 --- a/extensions/FunnyDot.php +++ b/extensions/FunnyDot.php @@ -20,9 +20,8 @@ public static function checkAntiSpamHash() if (!empty($_COOKIE['AntiSpamTime']) && !empty($_COOKIE['AntiSpamHash'])) { $time = intval($_COOKIE['AntiSpamTime']); - $hash = self::$_COOKIE['AntiSpamHash']; - if ($hash != sha1($time.$wgAntiSpamHash)) + if ($_COOKIE['AntiSpamHash'] != sha1($time.$wgAntiSpamHash)) { return false; } |