this isn't java... you need to say $this-> and self:: explicitly
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 13 Mar 2007 18:03:47 +0000 (18:03 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 13 Mar 2007 18:03:47 +0000 (18:03 +0000)
includes/IP.php

index 599482c..b065a65 100644 (file)
@@ -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;