aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/post/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/post/list.php')
-rw-r--r--core/include/post/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/post/list.php b/core/include/post/list.php
index 3fd9a44..9b2eec9 100644
--- a/core/include/post/list.php
+++ b/core/include/post/list.php
@@ -36,7 +36,7 @@ $postIDs = $Database->query(sprintf($execSQL, Post\Attribute::TABLE))->fetchAll(
foreach($postIDs as $postID) {
try {
$Post = Post\Factory::build($postID);
- $User = User\Factory::build($Post->attr('user'));
+ $User = User\Factory::build($Post->get('user'));
$ItemTemplate = generatePostItemTemplate($Post, $User);