作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

发送短信

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