Some small code adjustments
This commit is contained in:
@@ -1186,7 +1186,7 @@ class Profile
|
|||||||
if (!strlen($s)) {
|
if (!strlen($s)) {
|
||||||
return $s;
|
return $s;
|
||||||
}
|
}
|
||||||
if ((!strpos($s, '/profile/')) && (!$force)) {
|
if (!strpos($s, '/profile/') && !$force) {
|
||||||
return $s;
|
return $s;
|
||||||
}
|
}
|
||||||
if ($force && substr($s, -1, 1) !== '/') {
|
if ($force && substr($s, -1, 1) !== '/') {
|
||||||
|
|||||||
Reference in New Issue
Block a user