This commit is contained in:
liumengyi
2022-01-18 13:18:44 +08:00
parent a7c944d3e5
commit 42a352dc20
+6 -5
View File
@@ -123,12 +123,13 @@ class execution extends control
/* Set browse type. */
$browseType = strtolower($status);
/* Get products by execution. */
$execution = $this->commonAction($executionID, $status);
if($execution->type == 'kanban') $this->locate($this->createLink('execution', 'kanban', "executionID=$execution->id"));
$execution = $this->commonAction($executionID, $status);
$executionID = $execution->id;
$products = $this->product->getProductPairsByProject($executionID);
if($execution->type == 'kanban') $this->locate($this->createLink('execution', 'kanban', "executionID=$executionID"));
/* Get products by execution. */
$products = $this->product->getProductPairsByProject($executionID);
setcookie('preExecutionID', $executionID, $this->config->cookieLife, $this->config->webRoot, '', false, true);
/* Save the recently five executions visited in the cookie. */