* fix bug for sendmail that no action.

This commit is contained in:
wangyidong
2017-03-27 15:53:07 +08:00
parent dce2c6a5e8
commit 4e15469935
+4 -1
View File
@@ -52,8 +52,11 @@ class actionModel extends model
$action->project = $productAndProject['project'];
$this->dao->insert(TABLE_ACTION)->data($action)->autoCheck()->exec();
$actionID = $this->dbh->lastInsertID();
$this->file->updateObjectID($this->post->uid, $objectID, $objectType);
return $this->dbh->lastInsertID();
return $actionID;
}
/**