diff --git a/module/bug/view/m.view.html.php b/module/bug/view/m.view.html.php index 86abea40b0..3ee0e0f60a 100755 --- a/module/bug/view/m.view.html.php +++ b/module/bug/view/m.view.html.php @@ -1,5 +1,5 @@ session->set('bugID', $bug->id); -if($this->session->bugType) die(js::locate($this->createLink('my', 'bug', "type={$this->session->bugType}"), 'parent')); -die(js::locate($this->createLink('bug', 'browse', "productID=$productID"), 'parent')); +if($this->session->bugType) die($this->locate($this->createLink('my', 'bug', "type={$this->session->bugType}"))); +die($this->locate($this->createLink('bug', 'browse', "productID=$productID"))); ?> diff --git a/module/story/view/m.view.html.php b/module/story/view/m.view.html.php index f3b16e6e8e..31a0d50d19 100755 --- a/module/story/view/m.view.html.php +++ b/module/story/view/m.view.html.php @@ -1,2 +1,2 @@ session->set('storyID', $story->id);?> -createLink('product', 'browse', "productID=$product->id"), 'parent'));?> +locate($this->createLink('product', 'browse', "productID=$product->id")));?>