mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-21 16:13:00 +00:00
Bugfix: fix new slugify function
This commit is contained in:
parent
de4536e173
commit
0a950425e1
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ function makepathsafe($string)
|
|||
* @return string The slugified string.
|
||||
*/
|
||||
function slugify(string $text) : string {
|
||||
return preg_replace("/[^a-zA-Z0-9\-_]", "", $text);
|
||||
return preg_replace("/[^a-zA-Z0-9\-_]/", "", $text);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue