Permalink
Browse files

Missing picture data in forum_get_recent_posts

  • Loading branch information...
1 parent 61d7378 commit 9400ee33c5060a8727d08c0dc055ade6ce1500d3 moodler committed Aug 11, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
@@ -749,7 +749,7 @@ function forum_get_recent_posts($sincetime, $forum="0") {
$forumselect = "";
}
- return get_records_sql("SELECT p.*, d.name, u.id, u.firstname, u.lastname
+ return get_records_sql("SELECT p.*, d.name, u.id, u.firstname, u.lastname, u.picture
FROM {$CFG->prefix}forum_posts p,
{$CFG->prefix}forum_discussions d,
{$CFG->prefix}user u

0 comments on commit 9400ee3

Please sign in to comment.