function stats_select_school_form_submit

7.x stats.module stats_select_school_form_submit($form, $form_state)
6.x stats.module stats_select_school_form_submit($form, $form_state)

File

modules/stats/stats.module, line 818
This module displays statistics and reports for FlightPath

Code

function stats_select_school_form_submit($form, $form_state) {

  // We are simply trying to select the school.  Return to the form with our selection.
  $school_id = intval($form_state ['values']['school_id']);
  $redirect_path = base64_decode($form_state ['values']['redirect']);
  fp_goto($redirect_path, 'school_id=' . $school_id);
  return;

}