* Adjust code.

This commit is contained in:
leiyong
2020-11-10 16:38:19 +08:00
parent 35b0c16a06
commit 759bf9e1e7
+2 -2
View File
@@ -2412,8 +2412,8 @@ class project extends control
$this->view->title = $this->lang->project->allProject;
$this->view->position[] = $this->lang->project->allProject;
$this->view->projectStats = $this->project->getProjectStats($status == 'byproduct' ? 'all' : $status, $productID, 0, 30, $orderBy, $pager);
$this->view->products = array(0 => $this->lang->product->select) + $this->loadModel('product')->getPairs('', $this->session->PRJ);
$this->view->projectStats = $this->project->getProjectStats($status == 'byproduct' ? 'all' : $status, $productID, 0, 30, $orderBy, $pager, , $this->session->PRJ);
$this->view->products = array(0 => $this->lang->product->select) + $this->loadModel('product')->getProductsByProjec($this->session->PRJ);
$this->view->productID = $productID;
$this->view->projectID = $projectID;
$this->view->pager = $pager;