fixing a nasty bug when ALTERNC_HTML finish with a / ...

This commit is contained in:
Benjamin Sonntag 2013-06-14 14:36:05 +00:00
parent 364a97265a
commit e8106707d8
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ function getuserpath($user = null) {
global $mem;
$user = $mem->user['login'];
}
return ALTERNC_HTML."/".substr($user,0,1)."/".$user;
return rtrim(ALTERNC_HTML,"/")."/".substr($user,0,1)."/".$user;
}
/* ECHOes checked="checked" only if the parameter is true