function admin_groups_list_filter_form_submit

7.x admin.groups.inc admin_groups_list_filter_form_submit($form, $form_state)
6.x admin.groups.inc admin_groups_list_filter_form_submit($form, $form_state)

File

modules/admin/admin.groups.inc, line 1607

Code

function admin_groups_list_filter_form_submit($form, $form_state) {
  $values = $form_state ['values'];

  unset($_SESSION ['groups_filter_name']);
  unset($_SESSION ['groups_filter_school']);

  if ($values ['submit_btn'] != '') {
    $_SESSION ['groups_filter_name'] = trim($values ['filter_name']);
    $_SESSION ['groups_filter_school'] = @$values ['filter_school'];
  }

}