* Remove useless assignments of programplanControl::commonAction().

This commit is contained in:
xushenjie
2023-05-12 02:36:46 +00:00
parent 11aee4b3ed
commit c1081c23c7
+3 -2
View File
@@ -25,8 +25,9 @@ class programplan extends control
$this->loadModel('product');
$this->loadModel('project');
$products = $this->product->getProductPairsByProject($projectID);
$productID = $this->product->saveVisitState($productID, $products);
$project = $this->project->getByID($projectID);
$this->product->saveVisitState($productID, $products);
$project = $this->project->getByID($projectID);
$this->session->set('hasProduct', $project->hasProduct);
$this->project->setMenu($projectID);