aboutsummaryrefslogtreecommitdiffstats
path: root/admin/page
diff options
context:
space:
mode:
Diffstat (limited to 'admin/page')
-rw-r--r--admin/page/index.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/admin/page/index.php b/admin/page/index.php
index 79be1b2..7527afa 100644
--- a/admin/page/index.php
+++ b/admin/page/index.php
@@ -35,10 +35,7 @@ foreach($pageIDs as $pageID) {
try {
$Page = Page\Factory::build($pageID);
$User = User\Factory::build($Page->get('user'));
-
- $ItemTemplate = generatePageItemTemplate($Page, $User);
-
- $templates[] = $ItemTemplate;
+ $templates[] = generatePageItemTemplate($Page, $User);
}
catch(Page\Exception $Exception){}
catch(User\Exception $Exception){}