diff --git a/core/05-functions.php b/core/05-functions.php index 5dc6ee7..fbcfdfc 100644 --- a/core/05-functions.php +++ b/core/05-functions.php @@ -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); } /**