aboutsummaryrefslogtreecommitdiffstats
path: root/admin/post/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/post/index.php')
-rw-r--r--admin/post/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/post/index.php b/admin/post/index.php
index bb38676..79fbf92 100644
--- a/admin/post/index.php
+++ b/admin/post/index.php
@@ -38,7 +38,7 @@ foreach($postIDs as $postID) {
$ItemTemplate = generatePostItemTemplate($Post, $User);
- $posts[] = $ItemTemplate;
+ $templates[] = $ItemTemplate;
}
catch(Post\Exception $Exception){}
catch(User\Exception $Exception){}
@@ -54,7 +54,7 @@ $PaginationTemplate->set('HREF', Application::getAdminURL('post/?site=%d'));
$ListTemplate = Template\Factory::build('post/index');
$ListTemplate->set('LIST', [
- 'POSTS' => $posts ?? []
+ 'POSTS' => $templates ?? []
]);
$ListTemplate->set('PAGINATION', [