diff --git a/application/models/Stations.php b/application/models/Stations.php index 83670c1e..c2ef7388 100644 --- a/application/models/Stations.php +++ b/application/models/Stations.php @@ -134,6 +134,8 @@ class Stations extends CI_Model { $state = xss_clean($this->input->post('station_ca_state', true)); } else { $state = xss_clean($this->input->post('station_state', true)); + // log as an error the value of state + log_message('error', 'State value: ' . $state); } $data = array(