diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-01-31 19:59:00 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-01-31 19:59:00 +0100 |
commit | f29784e288a45a05a5a6953217c6e2c0a0ed352a (patch) | |
tree | 51ec2d0c23bf6971b3a55c61b4b902326a1d0826 | |
parent | ef7a5a02809343b3308ddc37da2f8a17854701eb (diff) | |
parent | b68a64de84615930f54c691bc7bc3d35ca8f7dd3 (diff) | |
download | forums-f29784e288a45a05a5a6953217c6e2c0a0ed352a.tar forums-f29784e288a45a05a5a6953217c6e2c0a0ed352a.tar.gz forums-f29784e288a45a05a5a6953217c6e2c0a0ed352a.tar.bz2 forums-f29784e288a45a05a5a6953217c6e2c0a0ed352a.tar.xz forums-f29784e288a45a05a5a6953217c6e2c0a0ed352a.zip |
Merge pull request #5112 from marc1706/ticket/15535
[ticket/15535] Add S_FIRST_POST to postrow in viewtopic
-rw-r--r-- | phpBB/viewtopic.php | 1 |
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'])) : '', |