diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-06-20 16:43:48 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-01 10:18:53 +0200 |
commit | 16736d4e4cfabc65f84c6339bf81ae01f1edffc2 (patch) | |
tree | 34c7b3720b3596cdca92c6e5422abc867c26cbe6 /phpBB/viewtopic.php | |
parent | b2884449159305420f52881b7fe9841c1a50c2ed (diff) | |
download | forums-16736d4e4cfabc65f84c6339bf81ae01f1edffc2.tar forums-16736d4e4cfabc65f84c6339bf81ae01f1edffc2.tar.gz forums-16736d4e4cfabc65f84c6339bf81ae01f1edffc2.tar.bz2 forums-16736d4e4cfabc65f84c6339bf81ae01f1edffc2.tar.xz forums-16736d4e4cfabc65f84c6339bf81ae01f1edffc2.zip |
[feature/php-events] Make naming of postrow consistent with others (post_row)
PHPBB3-9550
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 20d4c2af1b..ce73001c78 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1506,7 +1506,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) ))); // - $postrow = array( + $post_row = array( 'POST_AUTHOR_FULL' => ($poster_id != ANONYMOUS) ? $user_cache[$poster_id]['author_full'] : get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), 'POST_AUTHOR_COLOUR' => ($poster_id != ANONYMOUS) ? $user_cache[$poster_id]['author_colour'] : get_username_string('colour', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), 'POST_AUTHOR' => ($poster_id != ANONYMOUS) ? $user_cache[$poster_id]['author_username'] : get_username_string('username', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), @@ -1584,16 +1584,16 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) $user_poster_data = $user_cache[$poster_id]; - $vars = array('row', 'cp_row', 'user_poster_data', 'postrow'); + $vars = array('row', 'cp_row', 'user_poster_data', 'post_row'); extract($phpbb_dispatcher->trigger_event('core.viewtopic_postrow', compact($vars))); if (isset($cp_row['row']) && sizeof($cp_row['row'])) { - $postrow = array_merge($postrow, $cp_row['row']); + $post_row = array_merge($post_row, $cp_row['row']); } // Dump vars into template - $template->assign_block_vars('postrow', $postrow); + $template->assign_block_vars('postrow', $post_row); if (!empty($cp_row['blockrow'])) { |