diff --git a/module/execution/view/bug.html.php b/module/execution/view/bug.html.php
index 237622c1bb..59eac32b7a 100644
--- a/module/execution/view/bug.html.php
+++ b/module/execution/view/bug.html.php
@@ -104,7 +104,7 @@
id";
+ $params = "bugID=$bug->id,executionID={$execution->id}";
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);
diff --git a/module/project/view/bug.html.php b/module/project/view/bug.html.php
index 1402c0ba92..c71873a6da 100644
--- a/module/project/view/bug.html.php
+++ b/module/project/view/bug.html.php
@@ -104,7 +104,7 @@
id";
+ $params = "bugID=$bug->id,projectID={$project->id}";
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);