aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/page
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/page')
-rw-r--r--core/include/page/list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/page/list.php b/core/include/page/list.php
index ec2cd00..55f38cc 100644
--- a/core/include/page/list.php
+++ b/core/include/page/list.php
@@ -40,7 +40,7 @@ foreach($pageIDs as $pageID) {
$ItemTemplate = generatePageItemTemplate($Page, $User);
- $pages[] = $ItemTemplate;
+ $templates[] = $ItemTemplate;
}
catch(Page\Exception $Exception){}
catch(User\Exception $Exception){}
@@ -56,7 +56,7 @@ $ListTemplate->set('PAGINATION', [
'HTML' => generatePageNaviTemplate($currentSite)
]);
$ListTemplate->set('LIST', [
- 'PAGES' => $pages ?? []
+ 'PAGES' => $templates ?? []
]);
$MainTemplate = Template\Factory::build('main');