aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-03-03 00:26:32 +0100
committerJoas Schilling <nickvergessen@gmx.de>2011-03-03 00:26:32 +0100
commit5c2243360d00b162b0f0f1547ee3742d13fb42cb (patch)
treeb41e4e5e1eedada906e03be43470279bc448f1cf /phpBB/viewtopic.php
parent5debf22ba555b7970e6df5548118cd879d4c6a1f (diff)
parent1b97506ec50661381f6e6bc914148e74e3a4eb7f (diff)
downloadforums-5c2243360d00b162b0f0f1547ee3742d13fb42cb.tar
forums-5c2243360d00b162b0f0f1547ee3742d13fb42cb.tar.gz
forums-5c2243360d00b162b0f0f1547ee3742d13fb42cb.tar.bz2
forums-5c2243360d00b162b0f0f1547ee3742d13fb42cb.tar.xz
forums-5c2243360d00b162b0f0f1547ee3742d13fb42cb.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10072] Added the POST_NUMBER template var
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 b8f1b9d3b0..f22d602bc6 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -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,