* Adjust code.
This commit is contained in:
@@ -1530,7 +1530,7 @@ class bug extends control
|
||||
*/
|
||||
public function batchResolve($resolution, $resolvedBuild = '')
|
||||
{
|
||||
if(!isset($this->post->bugIDList)) return print(js::locate($this->session->bugList, 'parent'));
|
||||
if(!$this->post->bugIDList) return print(js::locate($this->session->bugList, 'parent'));
|
||||
|
||||
$bugIDList = array_unique($this->post->bugIDList);
|
||||
$changes = $this->bug->batchResolve($bugIDList, $resolution, $resolvedBuild);
|
||||
@@ -1766,7 +1766,7 @@ class bug extends control
|
||||
return print(js::locate($this->session->bugList, 'parent'));
|
||||
}
|
||||
|
||||
if(!isset($this->post->bugIDList)) return print(js::locate($this->session->bugList, 'parent'));
|
||||
if(!$this->post->bugIDList) return print(js::locate($this->session->bugList, 'parent'));
|
||||
|
||||
$bugIDList = array_unique($$this->post->bugIDList);
|
||||
$bugs = $this->dao->select('id, title, status, resolvedBy, openedBuild')->from(TABLE_BUG)->where('id')->in($bugIDList)->fetchAll('id');
|
||||
|
||||
Reference in New Issue
Block a user