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