diff --git a/root/portal/includes/functions.php b/root/portal/includes/functions.php index 24c32664..4168496c 100644 --- a/root/portal/includes/functions.php +++ b/root/portal/includes/functions.php @@ -191,9 +191,11 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le u.user_type, u.user_colour, p.post_id, + p.poster_id, p.post_time, p.post_text, p.post_attachment, + p.post_username, p.enable_smilies, p.enable_bbcode, p.enable_magic_url, @@ -306,7 +308,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le 'topic_last_post_time' => $row['topic_last_post_time'], 'topic_title' => $row['topic_title'], 'username' => $row['username'], - 'username_full' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], $row['username']), + 'username_full' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], $row['post_username']), 'user_id' => $row['user_id'], 'user_type' => $row['user_type'], 'user_colour' => $row['user_colour'],