From: Nick Jenkins Date: Thu, 23 Nov 2006 08:30:37 +0000 (+0000) Subject: Probable bug in wfIsAddressInRange() - $unsignedIP and $unsignedip are not the same... X-Git-Tag: 1.31.0-rc.0~55108 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=9a0e975aca0cdc0c3d9d7f00ef8cad8d2251dee4;p=lhc%2Fweb%2Fwiklou.git Probable bug in wfIsAddressInRange() - $unsignedIP and $unsignedip are not the same thing. One is defined, and the other is undefined / null. --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 50935e1b30..02db709992 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2068,7 +2068,7 @@ function wfIsAddressInRange( $addr, $range ) { $start = $startend[0]; $end = $startend[1]; - return (($unsignedIP >= $start) && ($unsignedip <= $end)); + return (($unsignedIP >= $start) && ($unsignedIP <= $end)); } /*