mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-18 22:41:28 +02:00
Fix Bug #55005 - Correctly take post time instead of topic time for the overall forum feed statistics row.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10302 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -819,10 +819,8 @@ class phpbb_feed
|
||||
|
||||
$user_link = ($row['user_id'] != ANONYMOUS) ? '<a href="' . feed_append_sid('/memberlist.' . $phpEx, 'mode=viewprofile&u=' . $row['user_id']) . '">' . $row['username'] . '</a>' : $row['username'];
|
||||
|
||||
$time = ($this->topic_id) ? $row['post_time'] : $row['topic_time'];
|
||||
|
||||
$item_row['statistics'] = $user->lang['POSTED'] . ' ' . $user->lang['POST_BY_AUTHOR'] . ' ' . $user_link
|
||||
. ' ' . $this->separator_stats . ' ' . $user->format_date($time)
|
||||
. ' ' . $this->separator_stats . ' ' . $user->format_date($row['post_time'])
|
||||
. ' ' . $this->separator_stats . ' ' . $user->lang['REPLIES'] . ' ' . $row['topic_replies']
|
||||
. ' ' . $this->separator_stats . ' ' . $user->lang['VIEWS'] . ' ' . $row['topic_views'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user