From 9a0e975aca0cdc0c3d9d7f00ef8cad8d2251dee4 Mon Sep 17 00:00:00 2001 From: Nick Jenkins Date: Thu, 23 Nov 2006 08:30:37 +0000 Subject: [PATCH] Probable bug in wfIsAddressInRange() - $unsignedIP and $unsignedip are not the same thing. One is defined, and the other is undefined / null. --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } /* -- 2.20.1