Probable bug in wfIsAddressInRange() - $unsignedIP and $unsignedip are not the same...
authorNick Jenkins <nickj@users.mediawiki.org>
Thu, 23 Nov 2006 08:30:37 +0000 (08:30 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Thu, 23 Nov 2006 08:30:37 +0000 (08:30 +0000)
includes/GlobalFunctions.php

index 50935e1..02db709 100644 (file)
@@ -2068,7 +2068,7 @@ function wfIsAddressInRange( $addr, $range ) {
        $start = $startend[0];
        $end   = $startend[1];
 
-       return (($unsignedIP >= $start) && ($unsignedip <= $end));
+       return (($unsignedIP >= $start) && ($unsignedIP <= $end));
 }
 
 /*