Fix a stupid parse error :)
This commit is contained in:
@ -729,7 +729,7 @@ function serendipity_currentURL($strict = false) {
|
|||||||
$url); // Kill possible looped repitions and bad characters which could occur
|
$url); // Kill possible looped repitions and bad characters which could occur
|
||||||
|
|
||||||
if ($strict) {
|
if ($strict) {
|
||||||
$url = preg_replace('@(//+), '/', $url);
|
$url = preg_replace('@(//+)@', '/', $url);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $url;
|
return $url;
|
||||||
|
Reference in New Issue
Block a user