diff --git a/module/bug/control.php b/module/bug/control.php index 4d80c54bcf..72cc0ab35a 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -804,7 +804,7 @@ class bug extends control $skipBugIdList = ''; foreach($bugIdList as $bugID) { - $oldBug = $bugs[$bugID]; + $oldBug = $oldBugs[$bugID]; if($branchID != $oldBug->branch) { if(empty($oldBug->module))