* Adjust feedback menu.

This commit is contained in:
wangyuting2
2022-05-09 15:58:02 +08:00
parent 73dce33bc3
commit e86f32df24
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -2784,6 +2784,7 @@ class bugModel extends model
*
* @param string $bug
* @param string $action
* @param string $module
* @access public
* @return void
*/
@@ -3223,7 +3224,7 @@ class bugModel extends model
}
/**
* Build operateMenu.
* Build bug menu.
*
* @param object $bug
* @param string $type
@@ -3260,6 +3261,7 @@ class bugModel extends model
$menu .= $this->buildMenu('bug', 'edit', $params, $bug, $type);
if($this->app->tab != 'product') $menu .= $this->buildMenu('bug', 'create', $copyParams, $bug, $type, 'copy');
if($type == 'view') $menu .= $this->buildMenu('bug', 'delete', $params, $bug, $type, 'trash', 'hiddenwin', "showinonlybody");
return $menu;
}
}