aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/page
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/page')
-rw-r--r--core/include/page/list.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/include/page/list.php b/core/include/page/list.php
index 55f38cc..7618009 100644
--- a/core/include/page/list.php
+++ b/core/include/page/list.php
@@ -37,10 +37,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){}