From 89f459855c78ee1976ad90f6edb467a92443288f Mon Sep 17 00:00:00 2001 From: Garvin Hicking <mail@garv.in> Date: Mon, 21 Aug 2006 17:53:43 +0000 Subject: [PATCH] Fix a stupid parse error :) --- include/functions_permalinks.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_permalinks.inc.php b/include/functions_permalinks.inc.php index c49e6bd7..27cf3bc7 100644 --- a/include/functions_permalinks.inc.php +++ b/include/functions_permalinks.inc.php @@ -729,7 +729,7 @@ function serendipity_currentURL($strict = false) { $url); // Kill possible looped repitions and bad characters which could occur if ($strict) { - $url = preg_replace('@(//+), '/', $url); + $url = preg_replace('@(//+)@', '/', $url); } return $url;