From: Andrew Garrett Date: Wed, 31 Jan 2007 08:44:40 +0000 (+0000) Subject: Issue described at http://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboa... X-Git-Tag: 1.31.0-rc.0~54163 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=ef2f9375a711b6457b437a2ca21ae3c892597e3a;p=lhc%2Fweb%2Fwiklou.git Issue described at en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard#Developers (inconsistency between "Autoblocker enabled" and "Autoblocker disabled" between Special:Ipblocklist and Special:Log/block. --- diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 9b2ce93db6..b7518eb5d5 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -312,8 +312,8 @@ class IPBlockForm { $flags[] = 'anononly'; if( $this->BlockCreateAccount ) $flags[] = 'nocreate'; - if( $this->BlockEnableAutoblock ) - $flags[] = 'autoblock'; + if( !$this->BlockEnableAutoblock ) + $flags[] = 'noautoblock'; return implode( ',', $flags ); }