try to circumvent a problem

This commit is contained in:
Garvin Hicking
2012-11-20 16:29:52 +01:00
committed by Ian
parent 312c886d62
commit 082f4b729c
@@ -726,6 +726,7 @@ class serendipity_event_spartacus extends serendipity_event
$i++;
foreach($subtree['children'] AS $child => $childtree) {
if (isset($childtree['tag'])) {
switch($childtree['tag']) {
case 'name':
$pluginstack[$i]['plugin_class'] =
@@ -774,6 +775,7 @@ class serendipity_event_spartacus extends serendipity_event
$pluginstack[$i]['author'] = $childtree['children'][0]['children'][0]['value']; // I dig my PHP arrays ;-)
break;
}
}
}
$this->checkPlugin($pluginstack[$i], $plugins, $type);
@@ -820,6 +822,7 @@ class serendipity_event_spartacus extends serendipity_event
$i++;
foreach($subtree['children'] AS $child => $childtree) {
if (isset($childtree['tag'])) {
switch($childtree['tag']) {
case 'name':
$pluginstack[$i]['name'] = $childtree['value'];
@@ -864,6 +867,7 @@ class serendipity_event_spartacus extends serendipity_event
$pluginstack[$i]['author'] = $childtree['children'][0]['children'][0]['value']; // I dig my PHP arrays ;-)
break;
}
}
}
$plugname = $pluginstack[$i]['template'];