aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorTabitha Backoff <tmbackoff@yahoo.com>2014-07-19 03:26:33 -0400
committerTabitha Backoff <tmbackoff@yahoo.com>2014-07-19 03:26:33 -0400
commitf6ad9d5fd21f0991b2ac8319418eb45e42452809 (patch)
treed2006448da0508e27af742270d6d0f67cd80cd2f /phpBB/viewtopic.php
parentd5f87e605374e5e91e06ad652f416d9a666999ff (diff)
downloadforums-f6ad9d5fd21f0991b2ac8319418eb45e42452809.tar
forums-f6ad9d5fd21f0991b2ac8319418eb45e42452809.tar.gz
forums-f6ad9d5fd21f0991b2ac8319418eb45e42452809.tar.bz2
forums-f6ad9d5fd21f0991b2ac8319418eb45e42452809.tar.xz
forums-f6ad9d5fd21f0991b2ac8319418eb45e42452809.zip
[ticket/12872] Add poster_id to viewtopic_modify_post_row
To allow extension authors to use the poster_id var. PHPBB3-12872
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 23f2fe8e3d..1a88fdcbd2 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1789,6 +1789,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
* @var int current_row_number Number of the post on this page
* @var int end Number of posts on this page
* @var int total_posts Total posts count
+ * @var int poster_id Post author id
* @var array row Array with original post and user data
* @var array cp_row Custom profile field data of the poster
* @var array attachments List of attachments
@@ -1798,12 +1799,14 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
* @since 3.1.0-a1
* @change 3.1.0-a3 Added vars start, current_row_number, end, attachments
* @change 3.1.0-b3 Added topic_data array, total_posts
+ * @change 3.1.0-rc3 Added poster_id
*/
$vars = array(
'start',
'current_row_number',
'end',
'total_posts',
+ 'poster_id',
'row',
'cp_row',
'attachments',