* Replaced '$openedBuilds' with '$builds';

This commit is contained in:
liukmqd@gmail.com
2011-05-01 06:24:18 +00:00
parent 0400119823
commit 59bc6596ae
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -527,10 +527,10 @@ class bug extends control
$this->view->position[] = html::a($this->createLink('bug', 'browse', "productID=$productID"), $this->products[$productID]);
$this->view->position[] = $this->lang->bug->activate;
$this->view->bug = $bug;
$this->view->users = $this->user->getPairs('nodeleted');
$this->view->openedBuilds = $this->loadModel('build')->getProductBuildPairs($productID, 'noempty');
$this->view->actions = $this->action->getList('bug', $bugID);
$this->view->bug = $bug;
$this->view->users = $this->user->getPairs('nodeleted');
$this->view->builds = $this->loadModel('build')->getProductBuildPairs($productID, 'noempty');
$this->view->actions = $this->action->getList('bug', $bugID);
$this->display();
}
+1 -1
View File
@@ -20,7 +20,7 @@
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->openedBuild;?></td>
<td><?php echo html::select('openedBuild[]', $openedBuilds, $bug->openedBuild, 'size=4 multiple=multiple class=select-3');?></td>
<td><?php echo html::select('openedBuild[]', $builds, $bug->openedBuild, 'size=4 multiple=multiple class=select-3');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>