1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-29 20:29:22 +02:00

Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/10072] Added the POST_NUMBER template var
This commit is contained in:
Joas Schilling 2011-03-03 00:26:32 +01:00
commit 5c2243360d

@ -1547,6 +1547,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
'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&amp;mode=warn_post&amp;f=' . $forum_id . '&amp;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,