Fix a stupid parse error :)
This commit is contained in:
parent
2f3b22e9b1
commit
89f459855c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user