Skip to content

Commit

Permalink
[ticket/10072] Added the POST_NUMBER template var
Browse files Browse the repository at this point in the history
PHPBB3-10072
  • Loading branch information
Sam Thompson authored and nickvergessen committed Mar 2, 2011
1 parent bda64ed commit 4c56577
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 @@ -1547,6 +1547,7 @@
'U_WARN' => ($auth->acl_get('m_warn') && $poster_id != $user->data['user_id'] && $poster_id != ANONYMOUS) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&mode=warn_post&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '',

'POST_ID' => $row['post_id'],
'POST_NUMBER' => $i + $start + 1,
'POSTER_ID' => $poster_id,

'S_HAS_ATTACHMENTS' => (!empty($attachments[$row['post_id']])) ? true : false,
Expand Down

0 comments on commit 4c56577

Please sign in to comment.