* Adjust the style.

This commit is contained in:
holan20180123
2021-01-20 13:04:08 +08:00
parent 98fe1f70cb
commit ccb8ad2fc5
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -179,7 +179,8 @@ class projectreleaseModel extends model
$this->dao->insert(TABLE_RELEASE)->data($release)
->autoCheck()
->batchCheck($this->config->release->create->requiredFields, 'notempty')
->check('name', 'unique', "product = {$release->product} AND branch = {$release->branch} AND deleted = '0'");
->check('name', 'unique', "product = {$release->product} AND branch = {$release->branch} AND deleted = '0'")
->exec();
if(dao::isError())
{