正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -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){ |
-
请 注册 或 登录 后发表评论