projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52af4d0
)
Strips + when formatting an hrid.
author
Stéphane Jacob
<sj@m4x.org>
Thu, 24 Mar 2011 12:50:02 +0000
(13:50 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Thu, 24 Mar 2011 12:50:02 +0000
(13:50 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/pluser.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/pluser.php
b/classes/pluser.php
index
d0e7e64
..
bc7e09e
100644
(file)
--- a/
classes/pluser.php
+++ b/
classes/pluser.php
@@
-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)))));
}