* Fix bug.

This commit is contained in:
tianshujie98
2020-12-04 14:47:39 +08:00
parent 0d27dff147
commit a0eae5552f
+5
View File
@@ -21,6 +21,11 @@ class build extends control
*/
public function create($executionID, $productID = 0)
{
if($executionID == 0)
{
die(js::locate($this->createLink('project', 'create'), 'parent'));
}
if(!empty($_POST))
{
$buildID = $this->build->create($executionID);