Follow-up r83795: fix E_NOTICE due to undefined array member.
authorHappy-melon <happy-melon@users.mediawiki.org>
Mon, 2 May 2011 18:31:42 +0000 (18:31 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Mon, 2 May 2011 18:31:42 +0000 (18:31 +0000)
includes/specials/SpecialBlock.php

index 0f0fdbc..0b01568 100644 (file)
@@ -825,7 +825,7 @@ class SpecialBlock extends SpecialPage {
                        $flags[] = 'noemail';
                }
 
-               if( $data['DisableUTEdit'] && $wgBlockAllowsUTEdit ){
+               if( $wgBlockAllowsUTEdit && $data['DisableUTEdit'] ){
                        $flags[] = 'nousertalk';
                }