mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12993] Return an array instead of reference passing
PHPBB3-12993
This commit is contained in:
@@ -408,7 +408,10 @@ function get_user_information($user_id, $user_row)
|
||||
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
||||
}
|
||||
|
||||
phpbb_get_user_rank($user_row, $user_row['user_posts'], $user_row['rank_title'], $user_row['rank_image'], $user_row['rank_image_src']);
|
||||
$user_rank_data = phpbb_get_user_rank($user_row, $user_row['user_posts']);
|
||||
$user_row['rank_title'] = $user_rank_data['title'];
|
||||
$user_row['rank_image'] = $user_rank_data['img'];
|
||||
$user_row['rank_image_src'] = $user_rank_data['img_src'];
|
||||
|
||||
if ((!empty($user_row['user_allow_viewemail']) && $auth->acl_get('u_sendemail')) || $auth->acl_get('a_email'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user