mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
[ticket/13229] Fix overloading memberlist with redundant SQL queries
PHPBB3-13229
This commit is contained in:
@@ -1427,7 +1427,7 @@ switch ($mode)
|
||||
$cp_row = (isset($profile_fields_cache[$user_id])) ? $cp->generate_profile_fields_template_data($profile_fields_cache[$user_id], false) : array();
|
||||
}
|
||||
|
||||
$memberrow = array_merge(phpbb_show_profile($row), array(
|
||||
$memberrow = array_merge(phpbb_show_profile($row, false, false, false), array(
|
||||
'ROW_NUMBER' => $i + ($start + 1),
|
||||
|
||||
'S_CUSTOM_PROFILE' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false,
|
||||
|
Reference in New Issue
Block a user