Fix a stupid parse error :)

This commit is contained in:
Garvin Hicking 2006-08-21 17:53:43 +00:00
parent 2f3b22e9b1
commit 89f459855c

View File

@ -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;