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