From: Tim Starling Date: Tue, 11 Jul 2006 05:29:31 +0000 (+0000) Subject: Fixed autoblock bug X-Git-Tag: 1.31.0-rc.0~56315 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=22b718c0358b52a4452915896261f053379be6d2;p=lhc%2Fweb%2Fwiklou.git Fixed autoblock bug --- diff --git a/includes/User.php b/includes/User.php index 3d4d6fcf85..64c1f0cdf6 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1551,6 +1551,8 @@ class User { # Just update the timestamp $ipblock->updateTimestamp(); return; + } else { + $ipblock = new Block; } # Make a new block object with the desired properties