mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
Fix for lowercase usernames in SEF Url.
This commit is contained in:
@@ -2498,7 +2498,12 @@ class eUrlRule
|
||||
|
||||
$url = strtr($this->template, $tr);
|
||||
|
||||
|
||||
// Work-around fix for lowercase username
|
||||
if($urlFormat == 'dashl' && $this->route == 'profile/view')
|
||||
{
|
||||
$url = str_replace('%20','-', strtolower($url));
|
||||
}
|
||||
|
||||
if(empty($params))
|
||||
{
|
||||
return $url !== '' ? $url.$suffix : $url;
|
||||
|
Reference in New Issue
Block a user