作者 lyh

gx

@@ -40,6 +40,7 @@ class ExtendLogic extends BaseLogic @@ -40,6 +40,7 @@ class ExtendLogic extends BaseLogic
40 }else{ 40 }else{
41 $key = trim(strtolower(preg_replace('/[\W]+/', '-', trim(Translate::tran($this->param['title'], 'en')))), '-'); 41 $key = trim(strtolower(preg_replace('/[\W]+/', '-', trim(Translate::tran($this->param['title'], 'en')))), '-');
42 $this->param['key'] = $this->getKey($key); 42 $this->param['key'] = $this->getKey($key);
  43 + $this->param['project_id'] = $this->user['project_id'];
43 $rs = $this->model->add($this->param); 44 $rs = $this->model->add($this->param);
44 } 45 }
45 if($rs === false){ 46 if($rs === false){