Two bugfixes from Karotte, thanks!
authorgarvinhicking <garvinhicking>
Thu, 8 Sep 2005 08:17:00 +0000 (08:17 +0000)
committergarvinhicking <garvinhicking>
Thu, 8 Sep 2005 08:17:00 +0000 (08:17 +0000)
plugins/serendipity_event_spartacus/serendipity_event_spartacus.php
rss.php

index 634bf3f4593b81fccc5e1caf895c6b8f4ac6d8c4..684fd5138c037fe7df4b06d5eff0f57bb5cc1e31 100644 (file)
@@ -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 26af7dd4b72cdfe137efe192130c815e6935fad4..703edacfefc643b9f23990e29667d5bedb4580ef 100644 (file)
--- 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'];