Skip to content

Commit

Permalink
Update forum.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rica-carv authored Aug 17, 2024
1 parent 9fa6f1a commit 33518b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e107_plugins/forum/forum.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ function forum_track()
$data['LASTPOSTUSER'] = !empty($row['user_name']) ? "<a href='" . e107::url('user/profile/view', array('name' => $row['user_name'], 'id' => $row['thread_lastuser'])) . "'>" . $row['user_name'] . "</a>" : LAN_ANONYMOUS;
$data['LASTPOSTDATE'] = $tp->toDate($row['thread_lastpost'], 'relative');

$data['LASTPOSTUSERAVATAR'] = $tp->toAvatar(e107::user($row['thread_lastuser']));
$data['VIEWS'] = $tp->toNumber($row['thread_views']);
$data['REPLIES'] = $tp->toNumber($row['thread_total_replies']);

$buttonId = "forum-track-button-" . intval($row['thread_id']);

$forumUrl = e107::url('forum', 'forum', $row);
Expand Down

0 comments on commit 33518b0

Please sign in to comment.