one more try

This commit is contained in:
Garvin Hicking 2012-11-06 14:50:12 +01:00
parent 3b00ba8767
commit b3755bcb28

View File

@ -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'];