diff --git a/module/repo/control.php b/module/repo/control.php index ae450759ef..51d67b4a99 100644 --- a/module/repo/control.php +++ b/module/repo/control.php @@ -129,7 +129,7 @@ class repo extends control $this->view->repoID = $repoID; $this->view->groups = $this->loadModel('group')->getPairs(); $this->view->users = $this->loadModel('user')->getPairs('noletter|noempty|nodeleted'); - $this->view->programs = $this->loadModel('program')->getPairs(); + $this->view->programs = $this->loadModel('program')->getPRJPairs(); $this->view->title = $this->lang->repo->common . $this->lang->colon . $this->lang->repo->edit; $this->view->position[] = html::a(inlink('maintain'), $this->lang->repo->common); diff --git a/module/repo/view/edit.html.php b/module/repo/view/edit.html.php index 2f947050e1..7ed12f948f 100644 --- a/module/repo/view/edit.html.php +++ b/module/repo/view/edit.html.php @@ -28,7 +28,7 @@
| repo->program; ?> | -program, "class='form-control chosen' multiple"); ?> | +PRJ, "class='form-control chosen' multiple"); ?> |
|---|---|---|
| repo->type; ?> |