diff --git a/module/execution/view/bug.html.php b/module/execution/view/bug.html.php index 1e091a5887..6acf38e9a7 100644 --- a/module/execution/view/bug.html.php +++ b/module/execution/view/bug.html.php @@ -114,8 +114,8 @@ common::printIcon('bug', 'confirmBug', $params, $bug, 'list', 'ok', '', 'iframe', true); common::printIcon('bug', 'resolve', $params, $bug, 'list', 'checked', '', 'iframe', true); common::printIcon('bug', 'close', $params, $bug, 'list', '', '', 'iframe', true); - common::printIcon('bug', 'create', "product=$bug->product&branch=$bug->branch&extra=$params", $bug, 'list', 'copy'); - common::printIcon('bug', 'edit', $params, $bug, 'list'); + common::printIcon('bug', 'create', "product=$bug->product&branch=$bug->branch&extra=$params,executionID=$bug->execution", $bug, 'list', 'copy'); + common::printIcon('bug', 'edit', $params, $bug, 'list'); } ?> diff --git a/module/project/view/bug.html.php b/module/project/view/bug.html.php index d15319478b..2fcba6a8c8 100644 --- a/module/project/view/bug.html.php +++ b/module/project/view/bug.html.php @@ -112,8 +112,8 @@ common::printIcon('bug', 'confirmBug', $params, $bug, 'list', 'ok', '', 'iframe', true); common::printIcon('bug', 'resolve', $params, $bug, 'list', 'checked', '', 'iframe', true); common::printIcon('bug', 'close', $params, $bug, 'list', '', '', 'iframe', true); - common::printIcon('bug', 'create', "product=$bug->product&branch=$bug->branch&extra=$params", $bug, 'list', 'copy'); - common::printIcon('bug', 'edit', $params, $bug, 'list'); + common::printIcon('bug', 'create', "product=$bug->product&branch=$bug->branch&extra=$params,projectID={$bug->project}", $bug, 'list', 'copy'); + common::printIcon('bug', 'edit', $params, $bug, 'list'); } ?>