diff options
-rw-r--r-- | phpBB/memberlist.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index df47fd2f4b..07c7ceaa13 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -596,9 +596,12 @@ switch ($mode) * enabled? * @var bool foes_enabled Is the ucp foes module * enabled? + * @var bool friend Is the user friend? + * @var bool foe Is the user foe? * @since 3.1-A1 + * @changed 3.1.0-b2 Added friend and foe status */ - $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)); |