From 7b903f0454ea3d0acd926b52cb82d34a867cb01e Mon Sep 17 00:00:00 2001 From: garvinhicking 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 c49e6bd..27cf3bc 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; -- 2.39.5