Browse Source

no message

lvhao 14 giờ trước cách đây
mục cha
commit
dc92f89073
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      core/CoreApp/controllers/Registration.php

+ 2 - 0
core/CoreApp/controllers/Registration.php

@@ -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;