You are here

function visitors_referers_form_submit in Visitors 7.0

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

Submit values from referers form write to session info.

File

forms/referers.inc, line 75
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'];
}