diff --git a/module/bug/control.php b/module/bug/control.php index 885fb495a1..422dff2193 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -207,7 +207,6 @@ class bug extends control $showModule = !empty($this->config->datatable->bugBrowse->showModule) ? $this->config->datatable->bugBrowse->showModule : ''; $productName = ($productID and isset($this->products[$productID])) ? $this->products[$productID] : $this->lang->product->allProduct; - $product = $this->product->getById($productID); if($product and $product->type != 'normal') { diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index 066be43156..2bbe2f801c 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -120,7 +120,6 @@ js::set('moduleID', $moduleID);