From b3755bcb28dd7bb3a3151b33bcd87af76aad7eff Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 6 Nov 2012 14:50:12 +0100 Subject: [PATCH] one more try --- .../serendipity_event_spartacus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php index 6316a019..de733d69 100644 --- a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php +++ b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php @@ -726,7 +726,7 @@ class serendipity_event_spartacus extends serendipity_event $i++; foreach($subtree['children'] AS $child => $childtree) { - if (isset($childtree['tag'])) { + if (is_array($childtree) && isset($childtree['tag'])) { switch($childtree['tag']) { case 'name': $pluginstack[$i]['plugin_class'] = @@ -822,7 +822,7 @@ class serendipity_event_spartacus extends serendipity_event $i++; foreach($subtree['children'] AS $child => $childtree) { - if (isset($childtree['tag'])) { + if (is_array($childtree) && isset($childtree['tag'])) { switch($childtree['tag']) { case 'name': $pluginstack[$i]['name'] = $childtree['value'];