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

Return only html from json/friendsearch.php (bug #772179)



Change-Id: I560d6aa74b08ed68ea9babfb2ce4782f214f109c
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent e2702214
......@@ -76,6 +76,7 @@ $admingroups->controlled = $controlledgroups;
$admingroups->invite = $invite;
build_userlist_html($data, $page, $admingroups);
unset($data['data']);
json_reply(false, array('data' => $data));
?>
Supports Markdown
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