From: Aaron Schulz Date: Sun, 24 Aug 2008 22:50:12 +0000 (+0000) Subject: remove extra parenthesis X-Git-Tag: 1.31.0-rc.0~45689 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=bf388f2ee3f7ec8728358ab7443d3bb0e4ac790f;p=lhc%2Fweb%2Fwiklou.git remove extra parenthesis --- diff --git a/includes/IP.php b/includes/IP.php index 653fbbc10d..7f7fc3cd6b 100644 --- a/includes/IP.php +++ b/includes/IP.php @@ -338,7 +338,7 @@ class IP { public static function toHex( $ip ) { $n = self::toUnsigned( $ip ); if ( $n !== false ) { - $n = ( self::isIPv6($ip) ) ? "v6-" . wfBaseConvert( $n, 10, 16, 32, false ) : wfBaseConvert( $n, 10, 16, 8, false ); + $n = self::isIPv6($ip) ? "v6-" . wfBaseConvert( $n, 10, 16, 32, false ) : wfBaseConvert( $n, 10, 16, 8, false ); } return $n; }