Strips + when formatting an hrid.
[platal.git] / classes / pluser.php
index d0e7e64..bc7e09e 100644 (file)
@@ -403,7 +403,7 @@ abstract class PlUser implements PlUserInterface
 
     private static function stripBadChars($text)
     {
-        return str_replace(array(' ', "'"), array('-', ''),
+        return str_replace(array(' ', "'", '+'), array('-', '', '_'),
                            strtolower(stripslashes(replace_accent(trim($text)))));
     }