1
0

"$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:
Thomas Hochstein
2020-03-23 20:50:46 +01:00
parent a3a48fd4f5
commit 04a3d34176

View File

@@ -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) {