1
0

fixed Illegal string offset 'tag'

This commit is contained in:
Ian
2013-01-19 12:42:23 +01:00
parent a4e14b62c2
commit 7143f43cf0

View File

@ -855,11 +855,11 @@ class serendipity_event_spartacus extends serendipity_event
);
foreach((array)$childtree['children'] AS $relInfo) {
if ($relInfo['tag'] == 'requirements:s9yVersion') {
if (isset($relInfo['tag']) && $relInfo['tag'] == 'requirements:s9yVersion') {
$pluginstack[$i]['requirements']['serendipity'] = $relInfo['value'];
}
if ($relInfo['tag'] == 'date') {
if (isset($relInfo['tag']) && $relInfo['tag'] == 'date') {
$pluginstack[$i]['date'] = $relInfo['value'];
}