1
0

minor - fix note typo and shorten param

This commit is contained in:
Ian
2012-12-08 14:19:23 +01:00
parent a66aa90424
commit 546e7c9ee6

View File

@ -294,9 +294,9 @@ class serendipity_event_spartacus extends serendipity_event
} }
} }
// remove double slahshes without breaking URI // remove double slashes without breaking URI
protected function fixUri($string) { protected function fixUri($s) {
return preg_replace('%([^:])([/]{2,})%', '\\1/', $string); return preg_replace('%([^:])([/]{2,})%', '\\1/', $s);
} }
// Create recursive directories; begins at serendipity plugin root folder level // Create recursive directories; begins at serendipity plugin root folder level