From a47f4015362249831c303ac5e233ec492f17d4ad Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Thu, 8 Sep 2005 08:17:00 +0000 Subject: [PATCH] Two bugfixes from Karotte, thanks! --- .../serendipity_event_spartacus.php | 4 ++-- rss.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php index 634bf3f..684fd51 100644 --- a/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php +++ b/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php @@ -473,7 +473,7 @@ class serendipity_event_spartacus extends serendipity_event 'smarty' => '' ); - foreach($childtree['children'] AS $relInfo) { + foreach((array)$childtree['children'] AS $relInfo) { if ($relInfo['tag'] == 'requirements:s9yVersion') { $pluginstack[$i]['requirements']['serendipity'] = $relInfo['value']; } @@ -545,7 +545,7 @@ class serendipity_event_spartacus extends serendipity_event 'smarty' => '' ); - foreach($childtree['children'] AS $relInfo) { + foreach((array)$childtree['children'] AS $relInfo) { if ($relInfo['tag'] == 'requirements:s9yVersion') { $pluginstack[$i]['requirements']['serendipity'] = $relInfo['value']; } diff --git a/rss.php b/rss.php index 26af7dd..703edac 100644 --- a/rss.php +++ b/rss.php @@ -5,7 +5,7 @@ header('Content-Type: text/xml; charset=utf-8'); session_cache_limiter('public'); include_once('serendipity_config.inc.php'); -include_once(S9Y_INCLUDE_PATH . 'functions_rss.inc.php'); +include_once(S9Y_INCLUDE_PATH . 'include/functions_rss.inc.php'); $version = $_GET['version']; $description = $serendipity['blogDescription']; -- 2.39.5