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.
这个提交包含在:
Peter Goodhall 2025-08-02 11:10:48 +01:00
父节点 c66688754b
当前提交 dc11ceed8f

查看文件

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