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'] =
|
||||
@ -775,6 +776,7 @@ class serendipity_event_spartacus extends serendipity_event
|
||||
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'];
|
||||
@ -865,6 +868,7 @@ class serendipity_event_spartacus extends serendipity_event
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$plugname = $pluginstack[$i]['template'];
|
||||
$pluginstack[$i]['previewURL'] = $mirror . '/additional_themes/' . $gitloc . $plugname . '/preview.png?revision=1.9999';
|
||||
|
Loading…
x
Reference in New Issue
Block a user