From: Happy-melon Date: Mon, 2 May 2011 18:31:42 +0000 (+0000) Subject: Follow-up r83795: fix E_NOTICE due to undefined array member. X-Git-Tag: 1.31.0-rc.0~30452 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=085148f1ae7472ef387877aa62d12bb2e697bd98;p=lhc%2Fweb%2Fwiklou.git Follow-up r83795: fix E_NOTICE due to undefined array member. --- diff --git a/includes/specials/SpecialBlock.php b/includes/specials/SpecialBlock.php index 0f0fdbc417..0b015684b4 100644 --- a/includes/specials/SpecialBlock.php +++ b/includes/specials/SpecialBlock.php @@ -825,7 +825,7 @@ class SpecialBlock extends SpecialPage { $flags[] = 'noemail'; } - if( $data['DisableUTEdit'] && $wgBlockAllowsUTEdit ){ + if( $wgBlockAllowsUTEdit && $data['DisableUTEdit'] ){ $flags[] = 'nousertalk'; }