aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/home.php')
-rw-r--r--core/include/home.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/home.php b/core/include/home.php
index dfa2a36..507db7a 100644
--- a/core/include/home.php
+++ b/core/include/home.php
@@ -13,7 +13,7 @@ $postIDs = $Statement->fetchAll($Database::FETCH_COLUMN);
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);