You are here

function piwik_reports_settings_submit in Piwik Reports 6

File

./piwik_reports.pages.inc, line 237
Drupal Module: Piwik Reports

Code

function piwik_reports_settings_submit($form, &$form_state) {
  $_SESSION['piwik_reports_period'] = $form_state['clicked_button']['#post']['period'];
}