From 7b8243d92f86b6f0b27b3ae88f97e6c985cc3f85 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 12 Sep 2005 15:36:58 +0000 Subject: [PATCH] Fix an error which rendered spartacus useless. --- .../serendipity_event_spartacus.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php index bd0420d..983553c 100644 --- a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php +++ b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php @@ -176,7 +176,6 @@ class serendipity_event_spartacus extends serendipity_event case 'close': return $children; } - unset($vals[$i]); } } @@ -620,7 +619,7 @@ class serendipity_event_spartacus extends serendipity_event if (!$found || $childtree['tag'] != 'release') { continue; } - + foreach($childtree['children'] AS $child2 => $childtree2) { if ($childtree2['tag'] != 'serendipityFilelist') { continue; -- 2.39.5