Skip to content

Commit

Permalink
[ticket/15535] Add S_FIRST_POST to postrow in viewtopic
Browse files Browse the repository at this point in the history
PHPBB3-15535
  • Loading branch information
Daniel Mota authored and marc1706 committed Jan 27, 2018
1 parent 4c7af15 commit b68a64d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phpBB/viewtopic.php
Original file line number Diff line number Diff line change
Expand Up @@ -1994,6 +1994,7 @@
'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'])) : '',
Expand Down

0 comments on commit b68a64d

Please sign in to comment.