Commit e2702214 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Only give userids and names in group/membersearchresults.php (bug #772174)



Change-Id: I649487b67db5609917219f0c5b0fceabce3b3c55
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 57761c1b
......@@ -53,6 +53,9 @@ if (!empty($membershiptype)) {
$results = get_group_user_search_results($group->id, $query, $offset, $limit, $membershiptype);
if (!param_integer('html', 1)) {
foreach ($results['data'] as &$result) {
$result = array('id' => $result['id'], 'name' => $result['name']);
}
json_reply(false, $results);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment