1
0

better double slash fix,

as the first try did catch http prefixes too
This commit is contained in:
Ian
2012-12-08 12:10:42 +01:00
parent af2c7efa21
commit efd4d723fc

@ -877,7 +877,7 @@ class serendipity_event_spartacus extends serendipity_event
$pluginstack[$i]['customIcon'] = '_spartacus';
// Remove the temporary $i reference, as the array should be associative and fix double slashes in url string
$pluginstack[$plugname] = str_replace('//', '/', $pluginstack[$i]);
$pluginstack[$plugname] = str_replace('serendipity//', 'serendipity/', $pluginstack[$i]);
unset($pluginstack[$i]);
}
}