Log state value in station creation

Added error-level logging for the 'state' value when processing station creation to aid in debugging and tracking input data.
pull/3312/head
Peter Goodhall 2025-08-02 11:10:48 +01:00
rodzic c66688754b
commit dc11ceed8f
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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(