(bug 7833) Fix regression causing 'autoblock disabled' to not appear where appropriat...
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 8 Nov 2006 13:21:43 +0000 (13:21 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 8 Nov 2006 13:21:43 +0000 (13:21 +0000)
includes/SpecialIpblocklist.php

index 85764be..9b10f42 100644 (file)
@@ -277,7 +277,7 @@ class IPUnblockForm {
                if ( $block->mCreateAccount ) {
                        $properties[] = $msg['createaccountblock'];
                }
-               if (!$block->mEnableAutoblock && !$block->mAddress ) {
+               if (!$block->mEnableAutoblock && $block->mUser ) {
                        $properties[] = $msg['noautoblockblock'];
                }