From cf31958f3ed2fd8abb36a1e3003f933e5f89a0c0 Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Tue, 23 Mar 2021 10:00:41 +0800 Subject: [PATCH] * Fix bug. --- module/build/control.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/build/control.php b/module/build/control.php index 9094212619..79abcd2e12 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -27,8 +27,7 @@ class build extends control if(!empty($_POST)) { - $executionID = $this->post->execution; - $buildID = $this->build->create($executionID); + $buildID = $this->build->create($executionID); if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError())); $this->loadModel('action')->create('build', $buildID, 'opened');