diff --git a/include/bugs.php b/include/bugs.php index 672adb9..a7d712b 100644 --- a/include/bugs.php +++ b/include/bugs.php @@ -564,7 +564,9 @@ function view_version_bugs($iVersionId = null, $aBuglinkIds) if($bCanEdit == true) { - echo "[delete]\n"; + $oM = new objectManager("bug"); + $oM->sReturnTo = $oVersion->objectMakeUrl(); + echo "[delete]\n"; if ($oBuglink->bQueued) { echo "[OK]\n";