aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-12-08 01:53:26 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-12-08 01:53:26 +0000
commit0fbea43f4b6456c87694c06a4a075f0ca006f395 (patch)
treeecfb7e37affc1f601900026ae4d1fd6c350263ca /phpBB/feed.php
parentb5dcc21280bf925a9e420b40e6aabbd374687a68 (diff)
downloadforums-0fbea43f4b6456c87694c06a4a075f0ca006f395.tar
forums-0fbea43f4b6456c87694c06a4a075f0ca006f395.tar.gz
forums-0fbea43f4b6456c87694c06a4a075f0ca006f395.tar.bz2
forums-0fbea43f4b6456c87694c06a4a075f0ca006f395.tar.xz
forums-0fbea43f4b6456c87694c06a4a075f0ca006f395.zip
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
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index ec1f03092f..79848437c5 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -819,10 +819,8 @@ class phpbb_feed
$user_link = ($row['user_id'] != ANONYMOUS) ? '<a href="' . feed_append_sid('/memberlist.' . $phpEx, 'mode=viewprofile&amp;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'];
}