aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/page/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/page/list.php')
-rw-r--r--core/include/page/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/page/list.php b/core/include/page/list.php
index 42e887f..ec2cd00 100644
--- a/core/include/page/list.php
+++ b/core/include/page/list.php
@@ -36,7 +36,7 @@ $pageIDs = $Database->query(sprintf($execSQL, Page\Attribute::TABLE))->fetchAll(
foreach($pageIDs as $pageID) {
try {
$Page = Page\Factory::build($pageID);
- $User = User\Factory::build($Page->attr('user'));
+ $User = User\Factory::build($Page->get('user'));
$ItemTemplate = generatePageItemTemplate($Page, $User);