kopia lustrzana https://github.com/magicbug/Cloudlog
set user_id on station location create
rodzic
aad1823e15
commit
6ab3256439
|
@ -52,6 +52,7 @@ class Stations extends CI_Model {
|
|||
function add() {
|
||||
// Create data array with field values
|
||||
$data = array(
|
||||
'user_id' => $this->session->userdata('user_id'),
|
||||
'station_profile_name' => xss_clean($this->input->post('station_profile_name', true)),
|
||||
'station_gridsquare' => xss_clean(strtoupper($this->input->post('gridsquare', true))),
|
||||
'station_city' => xss_clean($this->input->post('city', true)),
|
||||
|
|
Ładowanie…
Reference in New Issue