Some small code adjustments
This commit is contained in:
parent
5eeca432fe
commit
520c250a41
1 changed files with 3 additions and 3 deletions
|
@ -1186,7 +1186,7 @@ class Profile
|
|||
if (!strlen($s)) {
|
||||
return $s;
|
||||
}
|
||||
if ((!strpos($s, '/profile/')) && (!$force)) {
|
||||
if (!strpos($s, '/profile/') && !$force) {
|
||||
return $s;
|
||||
}
|
||||
if ($force && substr($s, -1, 1) !== '/') {
|
||||
|
|
Loading…
Reference in a new issue