From: Chad Horohoe Date: Sun, 5 Dec 2010 04:13:54 +0000 (+0000) Subject: Style cleanup to r64922 X-Git-Tag: 1.31.0-rc.0~33564 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=b90f17034ab8e7a3814c9cde97a6901ba4e381cb;p=lhc%2Fweb%2Fwiklou.git Style cleanup to r64922 --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index a722971239..1c68ec6c5b 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -980,8 +980,7 @@ class SkinTemplate extends Skin { } if( $this->mTitle->getNamespace() == NS_USER || $this->mTitle->getNamespace() == NS_USER_TALK ) { - $parts = explode( '/', $this->mTitle->getText() ); - $rootUser = $parts[0]; + $rootUser = explode( '/', $this->mTitle->getText(), 1 ); $id = User::idFromName( $rootUser ); $ip = User::isIP( $rootUser ); } else {