|
@@ -260,7 +260,7 @@ class Registration extends Start_Controller {
|
|
|
echo json_encode(array('msg'=>'编号或订单号填写错误','success'=>false));exit;
|
|
|
}
|
|
|
$red = $this->input->post('red',true);
|
|
|
- $post['ted'] = rtrim($red,',');
|
|
|
+ //$post['ted'] = rtrim($red,',');
|
|
|
unset($post['red']);
|
|
|
if($this->registration->insert($post))
|
|
|
{
|
|
@@ -319,7 +319,7 @@ class Registration extends Start_Controller {
|
|
|
}
|
|
|
$red = $this->input->post('red',true);
|
|
|
$post['ted'] = rtrim($red,',');
|
|
|
- unset($post['red']);
|
|
|
+ //unset($post['red']);
|
|
|
if($this->registration->save($post,$id))
|
|
|
{
|
|
|
echo json_encode(array('msg'=>'修改成功','success'=>true));exit;
|