aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2014-10-27 21:43:10 +0700
committerNils Adermann <naderman@naderman.de>2014-10-27 17:01:29 -0700
commit16d78407db91a1f2762fd99e4ba16a1bdffe9a06 (patch)
tree465099b76d54a3a294c396f19bbff89c7a0e9469 /phpBB/memberlist.php
parentaa916fc43f256952eafc81379af9e0b292497044 (diff)
downloadforums-16d78407db91a1f2762fd99e4ba16a1bdffe9a06.tar
forums-16d78407db91a1f2762fd99e4ba16a1bdffe9a06.tar.gz
forums-16d78407db91a1f2762fd99e4ba16a1bdffe9a06.tar.bz2
forums-16d78407db91a1f2762fd99e4ba16a1bdffe9a06.tar.xz
forums-16d78407db91a1f2762fd99e4ba16a1bdffe9a06.zip
[ticket/13229] Fix overloading memberlist with redundant SQL queries
PHPBB3-13229
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 439b97b47f..4f31178ffb 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -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,