diff --git a/module/bug/control.php b/module/bug/control.php index cbb6acd20e..7a2187dc17 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -385,7 +385,7 @@ class bug extends control { $location = $this->createLink('execution', 'bug', "executionID={$output['executionID']}"); } - if(isset($output['projectID'])) + elseif(isset($output['projectID'])) { $location = $this->createLink('project', 'bug', "projectID={$output['projectID']}"); }