one more try

This commit is contained in:
Garvin Hicking
2012-11-20 16:30:22 +01:00
committed by Ian
parent 082f4b729c
commit ae8c7768ec
@@ -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'];