* Code for task #7235.

This commit is contained in:
sgm0422
2020-06-11 14:41:08 +08:00
parent c4fc2c99b1
commit cfbba4b4bb
13 changed files with 70 additions and 22 deletions
+3
View File
@@ -104,6 +104,7 @@ class program extends control
$team = '';
$whitelist = '';
$acl = 'open';
$privway = 'extend';
if($copyProgramID)
{
$copyProgram = $this->dao->select('*')->from(TABLE_PROJECT)->where('id')->eq($copyProgramID)->fetch();
@@ -111,6 +112,7 @@ class program extends control
$code = $copyProgram->code;
$team = $copyProgram->team;
$acl = $copyProgram->acl;
$privway = $copyProgram->privway;
$whitelist = $copyProgram->whitelist;
}
@@ -124,6 +126,7 @@ class program extends control
$this->view->code = $code;
$this->view->team = $team;
$this->view->acl = $acl;
$this->view->privway = $privway;
$this->view->whitelist = $whitelist;
$this->view->copyProgramID = $copyProgramID;
$this->display();