|
@@ -261,6 +261,7 @@ class Registration extends Start_Controller {
|
|
|
}
|
|
|
$red = $this->input->post('red',true);
|
|
|
$post['ted'] = rtrim($red,',');
|
|
|
+ unset($post['red']);
|
|
|
if($this->registration->insert($post))
|
|
|
{
|
|
|
echo json_encode(array('msg'=>'添加成功','success'=>true));exit;
|
|
@@ -318,6 +319,7 @@ class Registration extends Start_Controller {
|
|
|
}
|
|
|
$red = $this->input->post('red',true);
|
|
|
$post['ted'] = rtrim($red,',');
|
|
|
+ unset($post['red']);
|
|
|
if($this->registration->save($post,$id))
|
|
|
{
|
|
|
echo json_encode(array('msg'=>'修改成功','success'=>true));exit;
|