aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/home.php')
-rw-r--r--core/include/home.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/home.php b/core/include/home.php
index 507db7a..0edd1f1 100644
--- a/core/include/home.php
+++ b/core/include/home.php
@@ -17,7 +17,7 @@ foreach($postIDs as $postID) {
$ItemTemplate = generatePostItemTemplate($Post, $User);
- $posts[] = $ItemTemplate;
+ $templates[] = $ItemTemplate;
}
catch(Post\Exception $Exception){}
catch(User\Exception $Exception){}
@@ -31,7 +31,7 @@ $HomeTemplate->set('PAGINATION', [
'HTML' => generatePostNaviTemplate(1)
]);
$HomeTemplate->set('LIST', [
- 'POSTS' => $posts ?? []
+ 'POSTS' => $templates ?? []
]);
$MainTemplate = Template\Factory::build('main');