正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -322,8 +322,8 @@ class Registers extends Backend | @@ -322,8 +322,8 @@ class Registers extends Backend | ||
322 | public function send($ids = null){ | 322 | public function send($ids = null){ |
323 | if ($this->request->isPost()) { | 323 | if ($this->request->isPost()) { |
324 | $params = $this->request->post("row/a"); | 324 | $params = $this->request->post("row/a"); |
325 | - if ($params) { | ||
326 | - $params = $this->preExcludeFields($params); | 325 | +// if ($params) { |
326 | +// $params = $this->preExcludeFields($params); | ||
327 | 327 | ||
328 | if ($this->dataLimit && $this->dataLimitFieldAutoFill) { | 328 | if ($this->dataLimit && $this->dataLimitFieldAutoFill) { |
329 | $params[$this->dataLimitField] = $this->auth->id; | 329 | $params[$this->dataLimitField] = $this->auth->id; |
@@ -372,7 +372,7 @@ class Registers extends Backend | @@ -372,7 +372,7 @@ class Registers extends Backend | ||
372 | } else { | 372 | } else { |
373 | $this->error(__('No rows were inserted')); | 373 | $this->error(__('No rows were inserted')); |
374 | } | 374 | } |
375 | - } | 375 | +// } |
376 | $this->error(__('Parameter %s can not be empty', '')); | 376 | $this->error(__('Parameter %s can not be empty', '')); |
377 | } | 377 | } |
378 | return $this->view->fetch(); | 378 | return $this->view->fetch(); |
-
请 注册 或 登录 后发表评论