aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/memberlist.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 8db2fef2a3..f6777b6bbd 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -590,8 +590,13 @@ switch ($mode)
* @var bool foes_enabled Is the ucp foes module
* enabled?
* @since 3.1-A1
+ *
+ * @var bool friend Is the user friend?
+ *
+ * @var bool foe Is the user foe?
+ * @since 3.1-A4
*/
- $vars = array('member', 'user_notes_enabled', 'warn_user_enabled', 'zebra_enabled', 'friends_enabled', 'foes_enabled');
+ $vars = array('member', 'user_notes_enabled', 'warn_user_enabled', 'zebra_enabled', 'friends_enabled', 'foes_enabled', 'friend', 'foe');
extract($phpbb_dispatcher->trigger_event('core.memberlist_view_profile', compact($vars)));
$template->assign_vars(show_profile($member, $user_notes_enabled, $warn_user_enabled));