From f6ad9d5fd21f0991b2ac8319418eb45e42452809 Mon Sep 17 00:00:00 2001 From: Tabitha Backoff Date: Sat, 19 Jul 2014 03:26:33 -0400 Subject: [PATCH] [ticket/12872] Add poster_id to viewtopic_modify_post_row To allow extension authors to use the poster_id var. PHPBB3-12872 --- phpBB/viewtopic.php | 3 +++ 1 file changed, 3 insertions(+) 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',