From ef2f9375a711b6457b437a2ca21ae3c892597e3a Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Wed, 31 Jan 2007 08:44:40 +0000 Subject: [PATCH] Issue described at http://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard#Developers (inconsistency between "Autoblocker enabled" and "Autoblocker disabled" between Special:Ipblocklist and Special:Log/block. --- includes/SpecialBlockip.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 2.20.1