aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorDaniel Mota <leinad4mind@gmail.com>2018-01-16 13:07:32 +0000
committerMarc Alexander <admin@m-a-styles.de>2018-01-27 16:29:20 +0100
commitb68a64de84615930f54c691bc7bc3d35ca8f7dd3 (patch)
treeee1e3a8e8135126c5c3a7b4ecfce2e48e5840f3a /phpBB/viewtopic.php
parent4c7af15d0a4b8e8b5d11707d4d372f49800c624d (diff)
downloadforums-b68a64de84615930f54c691bc7bc3d35ca8f7dd3.tar
forums-b68a64de84615930f54c691bc7bc3d35ca8f7dd3.tar.gz
forums-b68a64de84615930f54c691bc7bc3d35ca8f7dd3.tar.bz2
forums-b68a64de84615930f54c691bc7bc3d35ca8f7dd3.tar.xz
forums-b68a64de84615930f54c691bc7bc3d35ca8f7dd3.zip
[ticket/15535] Add S_FIRST_POST to postrow in viewtopic
PHPBB3-15535
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 38eba32374..155dca7788 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1994,6 +1994,7 @@ for ($i = 0, $end = count($post_list); $i < $end; ++$i)
'S_FIRST_UNREAD' => $s_first_unread,
'S_CUSTOM_FIELDS' => (isset($cp_row['row']) && count($cp_row['row'])) ? true : false,
'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false,
+ 'S_FIRST_POST' => ($topic_data['topic_first_post_id'] == $row['post_id']) ? true : false,
'S_IGNORE_POST' => ($row['foe']) ? true : false,
'L_IGNORE_POST' => ($row['foe']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username'])) : '',