set user_id on station location create

pull/1298/head
Thomas Werzmirzowsky 2021-11-15 19:54:01 +01:00
rodzic aad1823e15
commit 6ab3256439
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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)),