From 186a6773447f3b300f2b04a31e016780f0e2b18b Mon Sep 17 00:00:00 2001 From: root Date: Fri, 29 Oct 2010 14:26:45 -0400 Subject: [PATCH] slug regexp --- ipf/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipf/utils.php b/ipf/utils.php index 584b82b..50b33fd 100644 --- a/ipf/utils.php +++ b/ipf/utils.php @@ -250,7 +250,7 @@ class IPF_Utils { static function toSlug($slug){ if ($slug){ - return strtolower(preg_replace('/[^A-Z^a-z^0-9^\/]+/', '-', $slug)); + return strtolower(preg_replace('/[^A-Z^a-z^0-9^\/\_]+/', '-', $slug)); } return $slug; } -- 2.49.0