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

Fix group member search broken by bulk add/invite screen


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 9fedce81
......@@ -63,7 +63,7 @@ $form = pieform(array(
'searchparams' => array(
'id' => GROUP,
'limit' => 100,
'html' => false,
'html' => 0,
'membershiptype' => 'nonmember',
),
),
......
......@@ -63,7 +63,7 @@ $form = pieform(array(
'searchparams' => array(
'id' => GROUP,
'limit' => 100,
'html' => false,
'html' => 0,
'membershiptype' => 'notinvited',
),
),
......
......@@ -52,7 +52,7 @@ if (!empty($membershiptype)) {
}
$results = get_group_user_search_results($group->id, $query, $offset, $limit, $membershiptype);
if (!param_boolean('html', true)) {
if (!param_integer('html', 1)) {
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