summaryrefslogtreecommitdiffstats
path: root/templates/part.feeds.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.feeds.php')
-rw-r--r--templates/part.feeds.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.feeds.php b/templates/part.feeds.php
index 77afb8d5e..14a7b0dd4 100644
--- a/templates/part.feeds.php
+++ b/templates/part.feeds.php
@@ -1,7 +1,7 @@
<?php
function print_collection_list($list, $lastViewedFeedId, $lastViewedFeedType) {
-
+
foreach($list as $collection) {
if ($collection instanceOf OCA\News\Folder) {
$tmpl_folder = new OCP\Template("news", "part.listfolder");
@@ -9,7 +9,7 @@ function print_collection_list($list, $lastViewedFeedId, $lastViewedFeedType) {
$tmpl_folder->assign('lastViewedFeedId', $lastViewedFeedId);
$tmpl_folder->assign('lastViewedFeedType', $lastViewedFeedType);
$tmpl_folder->printpage();
- print_collection_list($collection->getChildren(), $lastViewedFeedId,
+ print_collection_list($collection->getChildren(), $lastViewedFeedId,
$lastViewedFeedType);
echo '</ul></li>';
}