diff options
Diffstat (limited to 'admin/post/index.php')
-rw-r--r-- | admin/post/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/post/index.php b/admin/post/index.php index e18a634..bb38676 100644 --- a/admin/post/index.php +++ b/admin/post/index.php @@ -34,7 +34,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); |