diff options
Diffstat (limited to 'admin/post/search.php')
-rw-r--r-- | admin/post/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/post/search.php b/admin/post/search.php index 8fe6a51..ec2391c 100644 --- a/admin/post/search.php +++ b/admin/post/search.php @@ -18,7 +18,7 @@ if($search = HTTP::GET('q')) { 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); } |