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.
这个提交包含在:
父节点
c66688754b
当前提交
dc11ceed8f
共有 1 个文件被更改,包括 2 次插入 和 0 次删除
|
|
@ -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(
|
||||
|
|
|
|||
正在加载…
在新工单中引用