svg
This commit is contained in:
parent
e26fdb13f1
commit
340e99dad2
|
@ -433,6 +433,7 @@ class User implements UserInterface, \Serializable
|
||||||
{
|
{
|
||||||
$this->pseudo = $pseudo?$pseudo:$this->username;
|
$this->pseudo = $pseudo?$pseudo:$this->username;
|
||||||
$pseudo=strtolower($this->pseudo);
|
$pseudo=strtolower($this->pseudo);
|
||||||
|
$pseudo=str_replace("'","",$pseudo);
|
||||||
if($pseudo=="admin"||$pseudo=="user"||$pseudo=="feed"||$pseudo=="_uploader") $pseudo.="home";
|
if($pseudo=="admin"||$pseudo=="user"||$pseudo=="feed"||$pseudo=="_uploader") $pseudo.="home";
|
||||||
$this->slug = $pseudo;
|
$this->slug = $pseudo;
|
||||||
return $this;
|
return $this;
|
||||||
|
|
Loading…
Reference in New Issue