diff --git a/module/bug/model.php b/module/bug/model.php index 0a1d1c5151..ff18fc65bf 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -3389,7 +3389,7 @@ class bugModel extends model if($type == 'view' && $this->app->tab != 'product') { $menu .= $this->buildMenu('bug', 'toStory', $toStoryParams, $bug, $type, $this->lang->icons['story'], '', '', '', "data-app='product' id='tostory'", $this->lang->bug->toStory); - if(common::hasPriv('task', 'create')) $menu .= html::a('#toTask', "{$this->lang->bug->toTask}", '', "data-app='qa' data-toggle='modal' class='btn btn-link'"); + if(common::hasPriv('task', 'create') and !isonlybody()) $menu .= html::a('#toTask', "{$this->lang->bug->toTask}", '', "data-app='qa' data-toggle='modal' class='btn btn-link'"); $menu .= $this->buildMenu('bug', 'createCase', $convertParams, $bug, $type, 'sitemap'); } if($type == 'view')