From eb912e29c184c8fea5be1e8821cb4024e6f25b1e Mon Sep 17 00:00:00 2001 From: Beau Simensen Date: Sat, 14 Jan 2012 23:16:19 -0600 Subject: [PATCH] Parametrized Entry OutputPath $space was not actually being used by normalize --- Phrozn/Site/View/OutputPath/Entry/Parametrized.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Phrozn/Site/View/OutputPath/Entry/Parametrized.php b/Phrozn/Site/View/OutputPath/Entry/Parametrized.php index 3ae306f..efad360 100644 --- a/Phrozn/Site/View/OutputPath/Entry/Parametrized.php +++ b/Phrozn/Site/View/OutputPath/Entry/Parametrized.php @@ -81,7 +81,7 @@ private function normalize($param, $space = '-') } $param = preg_replace('/[^a-zA-Z0-9 -]/', '', $param); $param = strtolower($param); - $param = preg_replace('/[\s-]+/', '-', $param); + $param = preg_replace('/[\s-]+/', $space, $param); return $param; }