You are here

function visitors_referers_form_submit in Visitors 8

Same name and namespace in other branches
  1. 7.2 forms/referers.inc \visitors_referers_form_submit()
  2. 7 forms/referers.inc \visitors_referers_form_submit()
  3. 7.0 forms/referers.inc \visitors_referers_form_submit()

Submit values from referers form write to session info.

File

forms/referers.inc, line 81
Referers form for visitors module.

Code

function visitors_referers_form_submit($form, &$form_state) {
  visitors_date_filter_form_submit($form, $form_state);
  $_SESSION['referer_type'] = $form_state['values']['referer_type'];
}