From bf0389a19ba0be16072cefc6c0117cfb84916423 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 27 Jun 2007 23:32:15 +0200 Subject: BugFix --- extensions/FunnyDot.php | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.2