From 300f887c02349723299b202ae3e5e19aaba74a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dark=E2=9D=B6?= Date: Fri, 28 Feb 2020 00:30:34 +0530 Subject: [PATCH] [ticket/16383] Add core events to modify friends list PHPBB3-16383 --- phpBB/ucp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/ucp.php b/phpBB/ucp.php index 0cb5c0f608..0d3feb9aa9 100644 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -376,13 +376,13 @@ if ($module->is_active('zebra', 'friends')) { $which = (time() - $update_time < $row['online_time'] && ($row['viewonline'] || $auth->acl_get('u_viewonline'))) ? 'online' : 'offline'; - $tpl_ary = array( + $tpl_ary = [ 'USER_ID' => $row['user_id'], 'U_PROFILE' => get_username_string('profile', $row['user_id'], $row['username'], $row['user_colour']), 'USER_COLOUR' => get_username_string('colour', $row['user_id'], $row['username'], $row['user_colour']), 'USERNAME' => get_username_string('username', $row['user_id'], $row['username'], $row['user_colour']), 'USERNAME_FULL' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']) - ); + ]; /** * Event to modify the template before listing of friends