From 761bfca76a4f6a8e16db3e9ec8424e8b480c0365 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 13 Mar 2007 18:03:47 +0000 Subject: [PATCH] this isn't java... you need to say $this-> and self:: explicitly --- includes/IP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/IP.php b/includes/IP.php index 599482c83f..b065a65b40 100644 --- a/includes/IP.php +++ b/includes/IP.php @@ -312,7 +312,7 @@ class IP { public static function toUnsigned( $ip ) { // Use IPv6 functions if needed if ( self::isIPv6( $ip ) ) { - return toUnsigned6( $ip ); + return self::toUnsigned6( $ip ); } if ( $ip == '255.255.255.255' ) { $n = -1; -- 2.20.1