"$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:
parent
a5f28d3eb0
commit
cb7819b4d9
@ -716,7 +716,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user