aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-03-03 00:14:24 +0100
committerJoas Schilling <nickvergessen@gmx.de>2011-03-03 00:14:24 +0100
commit1b97506ec50661381f6e6bc914148e74e3a4eb7f (patch)
tree03f04c04f05304701221baf59ddf9c0517359f68 /phpBB/viewtopic.php
parentbda64edae8ab88846771235220ebfa8ee6cfdaa1 (diff)
parent4c565774bfdd442bbf4298dcbf46d33b11697042 (diff)
downloadforums-1b97506ec50661381f6e6bc914148e74e3a4eb7f.tar
forums-1b97506ec50661381f6e6bc914148e74e3a4eb7f.tar.gz
forums-1b97506ec50661381f6e6bc914148e74e3a4eb7f.tar.bz2
forums-1b97506ec50661381f6e6bc914148e74e3a4eb7f.tar.xz
forums-1b97506ec50661381f6e6bc914148e74e3a4eb7f.zip
Merge branch 'ticket/samt/10072' into develop-olympus
* ticket/samt/10072: [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 498088c5c8..bc839066a5 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,