kopia lustrzana https://github.com/magicbug/Cloudlog
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
rodzic
c66688754b
commit
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(
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue