* Finish task #5196.
This commit is contained in:
@@ -131,6 +131,7 @@ class releaseModel extends model
|
||||
$this->dao->insert(TABLE_BUILD)->data($build)
|
||||
->autoCheck()
|
||||
->check('name', 'unique', "product = {$productID} AND branch = {$branch} AND deleted = '0'")
|
||||
->batchCheck($this->config->release->create->requiredFields, 'notempty')
|
||||
->exec();
|
||||
$buildID = $this->dao->lastInsertID();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user