diff --git a/src/Entity/User.php b/src/Entity/User.php index 33df0c9..37584cd 100644 --- a/src/Entity/User.php +++ b/src/Entity/User.php @@ -433,6 +433,7 @@ class User implements UserInterface, \Serializable { $this->pseudo = $pseudo?$pseudo:$this->username; $pseudo=strtolower($this->pseudo); + $pseudo=str_replace("'","",$pseudo); if($pseudo=="admin"||$pseudo=="user"||$pseudo=="feed"||$pseudo=="_uploader") $pseudo.="home"; $this->slug = $pseudo; return $this;