summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-06-27 23:32:15 +0200
committerPierre Schmitz <pierre@archlinux.de>2007-06-27 23:32:15 +0200
commitbf0389a19ba0be16072cefc6c0117cfb84916423 (patch)
tree328106b4b287ed6ee8a8f7cad9103048d1635a6f /extensions
parenta4003750c3a8a4d94ed673cb21696569cd67ce37 (diff)
BugFix
Diffstat (limited to 'extensions')
-rw-r--r--extensions/FunnyDot.php3
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;
}