mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10965] Profile data is only grabbed when show_novalue is enabled
PHPBB3-10965
This commit is contained in:
parent
2f5692d4bb
commit
296fadfca4
1 changed files with 5 additions and 2 deletions
|
@ -468,11 +468,14 @@ class custom_profile
|
|||
}
|
||||
|
||||
foreach ($user_ids as $user_id)
|
||||
{
|
||||
if (!isset($user_fields[$user_id][$used_ident]) && $this->profile_cache[$used_ident]['field_show_novalue'])
|
||||
{
|
||||
$user_fields[$user_id][$used_ident]['value'] = '';
|
||||
$user_fields[$user_id][$used_ident]['data'] = $this->profile_cache[$used_ident];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $user_fields;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue