Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -980,7 +980,7 @@ |
981 | 981 | } |
982 | 982 | |
983 | 983 | if( $this->mTitle->getNamespace() == NS_USER || $this->mTitle->getNamespace() == NS_USER_TALK ) { |
984 | | - $rootUser = explode( '/', $this->mTitle->getText(), 1 ); |
| 984 | + $rootUser = strtok( $this->mTitle->getText(), '/' ); |
985 | 985 | $id = User::idFromName( $rootUser ); |
986 | 986 | $ip = User::isIP( $rootUser ); |
987 | 987 | } else { |