try to circumvent a problem
This commit is contained in:
parent
e354ecdd3e
commit
3b00ba8767
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user