From: garvinhicking Date: Mon, 21 Aug 2006 17:53:43 +0000 (+0000) Subject: Fix a stupid parse error :) X-Git-Tag: 1.1~111 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7b903f0454ea3d0acd926b52cb82d34a867cb01e;p=s9y.git Fix a stupid parse error :) --- 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;