From 546e7c9ee6d8dd5b18dc9513ef240dbdb10eaa06 Mon Sep 17 00:00:00 2001 From: Ian Date: Sat, 8 Dec 2012 14:19:23 +0100 Subject: [PATCH] minor - fix note typo and shorten param --- .../serendipity_event_spartacus.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php index c900dfb1..15623eb4 100644 --- a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php +++ b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php @@ -294,9 +294,9 @@ class serendipity_event_spartacus extends serendipity_event } } - // remove double slahshes without breaking URI - protected function fixUri($string) { - return preg_replace('%([^:])([/]{2,})%', '\\1/', $string); + // remove double slashes without breaking URI + protected function fixUri($s) { + return preg_replace('%([^:])([/]{2,})%', '\\1/', $s); } // Create recursive directories; begins at serendipity plugin root folder level