|
|
@@ -255,7 +255,7 @@ class User extends Base_Controller{
|
|
|
exit(json_result('0722',$this->response['0722'],array()));
|
|
|
}
|
|
|
|
|
|
- $oldData = $this->User_model->get_one($wher,'company');
|
|
|
+ $oldData = $this->User_model->get_one($where,'company');
|
|
|
|
|
|
if ($oldData['company'] != $data['company']) {
|
|
|
$this->Project_model->update(array('company'=>$data['company']),array('userId'=>$where['id'],'company'=>$data['company']));
|