1
0

spartacus error fix

This commit is contained in:
Garvin Hicking
2012-06-12 20:55:54 +02:00
parent 937454899c
commit 6899fa3026

View File

@ -722,7 +722,7 @@ class serendipity_event_spartacus extends serendipity_event
$this->checkArray($tree);
foreach($tree[0]['children'] AS $idx => $subtree) {
if ($subtree['tag'] == 'package') {
if (is_array($subtree) && $subtree['tag'] == 'package') {
$i++;
foreach($subtree['children'] AS $child => $childtree) {