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