* Change saveState to checkAccess.

This commit is contained in:
caoyanyi
2023-08-17 10:32:23 +08:00
parent d2a0d5c803
commit 63bd06a182
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class programplan extends control
$this->session->set('projectPlanList', $this->app->getURI(true), 'project');
$this->commonAction($projectID, $productID);
if(!defined('RUN_MODE') || RUN_MODE != 'api') $projectID = $this->project->saveState($projectID, $this->project->getPairsByProgram());
if(!defined('RUN_MODE') || RUN_MODE != 'api') $projectID = $this->project->checkAccess($projectID, $this->project->getPairsByProgram());
/* Get the product under the project and adjust the three-level navigation action button. */
$products = $this->loadModel('product')->getProducts($projectID);