"$cachedtype" was set twice.
"$cachedtype" is saved anayway before returning; no need to set it here. Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
@@ -718,7 +718,6 @@ class serendipity_event_spartacus extends serendipity_event
|
||||
if (isset($cachedtype) && $cachedtype != $type) {
|
||||
// bust cache if called with other type
|
||||
$pluginlist = null;
|
||||
$cachedtype = $type;
|
||||
}
|
||||
|
||||
if ($pluginlist === null) {
|
||||
|
||||
Reference in New Issue
Block a user