* Fix to this->post .

This commit is contained in:
guofeilong
2023-05-10 13:47:37 +08:00
parent 8b2351d6de
commit 033b502cce
2 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -1217,7 +1217,7 @@ class projectModel extends model
if($postData->rawdata->delta == 999) $requiredFields = trim(str_replace(',end,', ',', ",{$requiredFields},"), ',');
$this->lang->error->unique = $this->lang->error->repeat;
$project = $this->loadModel('file')->processImgURL($project, $this->config->project->editor->create['id'], $postData->rawdata->uid);
$project = $this->loadModel('file')->processImgURL($project, $this->config->project->editor->create['id'], $this->post->uid);
$this->dao->insert(TABLE_PROJECT)->data($project)
->autoCheck()
->batchcheck($requiredFields, 'notempty')