aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-11-13 14:30:20 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-11-13 14:30:20 +0100
commite3b70c4c08c82cbf365e9f5e8e402b1f4888cc53 (patch)
treec04ddb0bea4b1aae5458d911e72c640b73adcbc4 /phpBB/viewtopic.php
parentf4cff08a1943d2bd7f1fc18318fa73018bcf6499 (diff)
downloadforums-e3b70c4c08c82cbf365e9f5e8e402b1f4888cc53.tar
forums-e3b70c4c08c82cbf365e9f5e8e402b1f4888cc53.tar.gz
forums-e3b70c4c08c82cbf365e9f5e8e402b1f4888cc53.tar.bz2
forums-e3b70c4c08c82cbf365e9f5e8e402b1f4888cc53.tar.xz
forums-e3b70c4c08c82cbf365e9f5e8e402b1f4888cc53.zip
[ticket/12015] Add attachments to core.viewtopic_modify_post_row
PHPBB3-12015
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index e6019c1ed6..c453e3c2a6 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1706,11 +1706,12 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
* @event core.viewtopic_modify_post_row
* @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
* @var array user_poster_data Poster's data from user cache
* @var array post_row Template block array of the post
* @since 3.1-A1
*/
- $vars = array('row', 'cp_row', 'user_poster_data', 'post_row');
+ $vars = array('row', 'cp_row', 'attachments', 'user_poster_data', 'post_row');
extract($phpbb_dispatcher->trigger_event('core.viewtopic_modify_post_row', compact($vars)));
if (isset($cp_row['row']) && sizeof($cp_row['row']))