one more try
This commit is contained in:
parent
3b00ba8767
commit
b3755bcb28
@ -726,7 +726,7 @@ class serendipity_event_spartacus extends serendipity_event
|
|||||||
$i++;
|
$i++;
|
||||||
|
|
||||||
foreach($subtree['children'] AS $child => $childtree) {
|
foreach($subtree['children'] AS $child => $childtree) {
|
||||||
if (isset($childtree['tag'])) {
|
if (is_array($childtree) && isset($childtree['tag'])) {
|
||||||
switch($childtree['tag']) {
|
switch($childtree['tag']) {
|
||||||
case 'name':
|
case 'name':
|
||||||
$pluginstack[$i]['plugin_class'] =
|
$pluginstack[$i]['plugin_class'] =
|
||||||
@ -822,7 +822,7 @@ class serendipity_event_spartacus extends serendipity_event
|
|||||||
$i++;
|
$i++;
|
||||||
|
|
||||||
foreach($subtree['children'] AS $child => $childtree) {
|
foreach($subtree['children'] AS $child => $childtree) {
|
||||||
if (isset($childtree['tag'])) {
|
if (is_array($childtree) && isset($childtree['tag'])) {
|
||||||
switch($childtree['tag']) {
|
switch($childtree['tag']) {
|
||||||
case 'name':
|
case 'name':
|
||||||
$pluginstack[$i]['name'] = $childtree['value'];
|
$pluginstack[$i]['name'] = $childtree['value'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user