aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/feed/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/feed/main.php')
-rw-r--r--core/include/feed/main.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/include/feed/main.php b/core/include/feed/main.php
index 76bf23e..4dc7c81 100644
--- a/core/include/feed/main.php
+++ b/core/include/feed/main.php
@@ -29,7 +29,7 @@ if(!isset($param) OR $param !== 'page') {
$ItemTemplate->set('POST', generateItemTemplateData($Post));
$ItemTemplate->set('USER', generateItemTemplateData($User));
- $posts[] = $ItemTemplate;
+ $post_templates[] = $ItemTemplate;
}
catch(Post\Exception $Exception){}
@@ -56,7 +56,7 @@ if(!isset($param) OR $param !== 'post') {
$ItemTemplate->set('PAGE', generateItemTemplateData($Page));
$ItemTemplate->set('USER', generateItemTemplateData($User));
- $pages[] = $ItemTemplate;
+ $page_templates[] = $ItemTemplate;
}
catch(Page\Exception $Exception){}
@@ -71,8 +71,8 @@ $FeedTemplate = Template\Factory::build('feed/main');
$FeedTemplate->set('FEED', [
'TYPE' => $param ?? NULL,
'LIST' => [
- 'POSTS' => $posts ?? [],
- 'PAGES' => $pages ?? [],
+ 'POSTS' => $post_templates ?? [],
+ 'PAGES' => $page_templates ?? [],
]
]);