r98975 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98974‎ | r98975 | r98976 >
Date:02:36, 5 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed:
Undefined index: IPV6 in D:\www\MW_trunk\phase\includes\specials\SpecialBlock.php on line 516
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlock.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlock.php
@@ -513,7 +513,7 @@
514514 list( $ip, $range ) = explode( '/', $target, 2 );
515515
516516 if( ( IP::isIPv4( $ip ) && $wgBlockCIDRLimit['IPv4'] == 32 )
517 - || ( IP::isIPv6( $ip ) && $wgBlockCIDRLimit['IPV6'] == 128 ) )
 517+ || ( IP::isIPv6( $ip ) && $wgBlockCIDRLimit['IPv6'] == 128 ) )
518518 {
519519 # Range block effectively disabled
520520 return wfMessage( 'range_block_disabled' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r98976MFT r98975aaron02:38, 5 October 2011

Status & tagging log