From 9f512843afa4ac526aa6b9d0783d75c295742467 Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Wed, 17 Mar 2021 11:39:32 +0800 Subject: [PATCH] + Add setAppObjectID of program. --- module/program/control.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/program/control.php b/module/program/control.php index 6a9eedb121..0b0f13ca70 100644 --- a/module/program/control.php +++ b/module/program/control.php @@ -102,6 +102,7 @@ class program extends control if(empty($program) || $program->type != 'program') die(js::error($this->lang->notFound) . js::locate('back')); $this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true); + commonModel::setAppObjectID('program', $programID); /* Load pager and get tasks. */ $this->app->loadClass('pager', $static = true); @@ -395,6 +396,7 @@ class program extends control $this->app->session->set('projectList', $this->app->getURI(true)); $this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true); + commonModel::setAppObjectID('program', $programID); $this->loadModel('datatable'); @@ -435,6 +437,7 @@ class program extends control public function stakeholder($programID = 0, $orderBy = 't1.id_desc', $recTotal = 0, $recPerPage = 15, $pageID = 1) { $this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true); + commonModel::setAppObjectID('program', $programID); /* Load pager and get tasks. */ $this->app->loadClass('pager', $static = true);