* Fix bug.
This commit is contained in:
Binary file not shown.
@@ -73,8 +73,8 @@ class issue extends control
|
||||
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted');
|
||||
$this->view->owners = $this->loadModel('stakeholder')->getStakeholders4Issue();
|
||||
$this->view->from = $from;
|
||||
$this->view->owner = $owner;
|
||||
$this->view->from = $from;
|
||||
$this->view->owner = $owner;
|
||||
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<div class="main-content" id="mainCentent">
|
||||
<div class="main-content" id="mainCentent" <?php if(isonlybody()) echo 'style="margin-top: 40px;"';?>>
|
||||
<div class="center-block">
|
||||
<div class="main-header">
|
||||
<h2><?php echo $lang->issue->create;?></h2>
|
||||
|
||||
@@ -1937,10 +1937,11 @@ class project extends control
|
||||
$this->loadModel('user');
|
||||
$this->loadModel('dept');
|
||||
|
||||
$project = $this->project->getById($projectID);
|
||||
$users = $this->user->getPairs('noclosed|nodeleted|devfirst|nofeedback', '', $this->config->maxCount);
|
||||
$roles = $this->user->getUserRoles(array_keys($users));
|
||||
$deptUsers = $dept === '' ? array() : $this->dept->getDeptUserPairs($dept);
|
||||
$project = $this->project->getById($projectID);
|
||||
$users = $this->user->getPairs('noclosed|nodeleted|devfirst|nofeedback', '', $this->config->maxCount);
|
||||
$roles = $this->user->getUserRoles(array_keys($users));
|
||||
$deptUsers = empty($dept) ? array() : $this->dept->getDeptUserPairs($dept);
|
||||
|
||||
$currentMembers = $this->project->getTeamMembers($projectID);
|
||||
$members2Import = $this->project->getMembers2Import($team2Import, array_keys($currentMembers));
|
||||
$teams2Import = $this->project->getTeams2Import($this->app->user->account, $projectID);
|
||||
|
||||
Reference in New Issue
Block a user