Merge pull request #1298 from Werzi2001/version_2_station_create_set_user
set user_id on station location create
这个提交包含在:
当前提交
68a9d237d7
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
|
|
@ -52,6 +52,7 @@ class Stations extends CI_Model {
|
||||||
function add() {
|
function add() {
|
||||||
// Create data array with field values
|
// Create data array with field values
|
||||||
$data = array(
|
$data = array(
|
||||||
|
'user_id' => $this->session->userdata('user_id'),
|
||||||
'station_profile_name' => xss_clean($this->input->post('station_profile_name', true)),
|
'station_profile_name' => xss_clean($this->input->post('station_profile_name', true)),
|
||||||
'station_gridsquare' => xss_clean(strtoupper($this->input->post('gridsquare', true))),
|
'station_gridsquare' => xss_clean(strtoupper($this->input->post('gridsquare', true))),
|
||||||
'station_city' => xss_clean($this->input->post('city', true)),
|
'station_city' => xss_clean($this->input->post('city', true)),
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用