diff options
Diffstat (limited to 'core/include/search')
-rw-r--r-- | core/include/search/main.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/search/main.php b/core/include/search/main.php index 95cffda..8a02790 100644 --- a/core/include/search/main.php +++ b/core/include/search/main.php @@ -40,7 +40,7 @@ if(isset($postIDs) AND !empty($postIDs)) { foreach($postIDs as $postID) { try { $Post = Post\Factory::build($postID); - $User = User\Factory::build($Post->attr('user')); + $User = User\Factory::build($Post->get('user')); $posts[] = generatePostItemTemplate($Post, $User); } |