fixbug #16662
This commit is contained in:
@@ -147,6 +147,7 @@ class repo extends control
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noletter|noempty|nodeleted');
|
||||
$this->view->products = $this->loadModel('product')->getProductPairsByProject($objectID);
|
||||
$this->view->gitlabHosts = $this->loadModel('gitlab')->getPairs();
|
||||
$this->view->objectID = $objectID;
|
||||
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<table class='table table-form'>
|
||||
<tr>
|
||||
<th><?php echo $lang->repo->product; ?></th>
|
||||
<td class='required'><?php echo html::select('product[]', $products, '', "class='form-control chosen' multiple"); ?></td>
|
||||
<td class='required'><?php echo html::select('product[]', $products, empty($objectID) ? '' : array_keys($products), "class='form-control chosen' multiple"); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='thWidth'><?php echo $lang->repo->type; ?></th>
|
||||
|
||||
Reference in New Issue
Block a user